mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-07 17:51:56 +08:00
fix compile errors
This commit is contained in:
@@ -137,7 +137,7 @@ func Uninstall() error {
|
||||
daemon.CleanupMac()
|
||||
} else if ncutils.IsLinux() {
|
||||
daemon.CleanupLinux()
|
||||
} else if ncutils.IsFreebsd() {
|
||||
} else if ncutils.IsFreeBSD() {
|
||||
daemon.CleanupFreebsd()
|
||||
} else if !ncutils.IsKernel() {
|
||||
ncutils.PrintLog("manual cleanup required", 1)
|
||||
@@ -235,7 +235,7 @@ func RemoveLocalInstance(cfg *config.ClientConfig, networkName string) error {
|
||||
// TODO: Remove job?
|
||||
} else if ncutils.IsMac() {
|
||||
//TODO: Delete mac daemon
|
||||
} else if ncutils.IsFreebsd() {
|
||||
} else if ncutils.IsFreeBSD() {
|
||||
daemon.RemoveFreebsdDaemon()
|
||||
} else {
|
||||
daemon.RemoveSystemDServices()
|
||||
|
Reference in New Issue
Block a user