Browse Source

add missing param

Matthew R. Kasun 2 years ago
parent
commit
d9b5a1640a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      netclient/daemon/freebsd.go

+ 1 - 1
netclient/daemon/freebsd.go

@@ -108,7 +108,7 @@ func FreebsdDaemon(command string) {
 
 // CleanupFreebsd - removes config files and netclient binary
 func CleanupFreebsd() {
-	ncutils.RunCmd("service netclient stop")
+	ncutils.RunCmd("service netclient stop", false)
 	RemoveFreebsdDaemon()
 	if err := os.RemoveAll(ncutils.GetNetclientPath()); err != nil {
 		logger.Log(1, "Removing netclient configs: ", err.Error())