mirror of
https://github.com/gravitl/netmaker.git
synced 2025-11-03 11:02:11 +08:00
minor cleanups
This commit is contained in:
3
main.go
3
main.go
@@ -53,6 +53,9 @@ func initialize() { // Client Mode Prereq Check
|
||||
if uid != 0 {
|
||||
log.Fatal("To run in client mode requires root privileges. Either disable client mode or run with sudo.")
|
||||
}
|
||||
if err := serverctl.InitServerNetclient(); err != nil {
|
||||
log.Fatal("Did not find netclient to use CLIENT_MODE")
|
||||
}
|
||||
}
|
||||
|
||||
if servercfg.IsDNSMode() {
|
||||
|
||||
Reference in New Issue
Block a user