mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 01:07:41 +08:00
fix compile errors
This commit is contained in:
@@ -34,11 +34,8 @@ func Join(cfg config.ClientConfig, privateKey string) error {
|
||||
if err != nil {
|
||||
ncutils.PrintLog("error removing services: "+err.Error(), 1)
|
||||
}
|
||||
if ncutils.IsFreebsd() {
|
||||
err = daemon.RemoveFreebsdDaemon()
|
||||
}
|
||||
if err != nil {
|
||||
ncutils.PrintLog("error removing services: "+err.Error(), 1)
|
||||
if ncutils.IsFreeBSD() {
|
||||
daemon.RemoveFreebsdDaemon()
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user