mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-06 05:04:27 +08:00
add missing param
This commit is contained in:
parent
d1f969be3b
commit
d9b5a1640a
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Reference in a new issue