minor cleanups

This commit is contained in:
0xdcarns
2021-09-28 14:08:16 -04:00
parent 90d941854b
commit 90cbbfdf4a
5 changed files with 17 additions and 46 deletions

View File

@@ -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() {