mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-10 07:05:28 +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
|
// CleanupFreebsd - removes config files and netclient binary
|
||||||
func CleanupFreebsd() {
|
func CleanupFreebsd() {
|
||||||
ncutils.RunCmd("service netclient stop")
|
ncutils.RunCmd("service netclient stop", false)
|
||||||
RemoveFreebsdDaemon()
|
RemoveFreebsdDaemon()
|
||||||
if err := os.RemoveAll(ncutils.GetNetclientPath()); err != nil {
|
if err := os.RemoveAll(ncutils.GetNetclientPath()); err != nil {
|
||||||
logger.Log(1, "Removing netclient configs: ", err.Error())
|
logger.Log(1, "Removing netclient configs: ", err.Error())
|
||||||
|
|
Loading…
Add table
Reference in a new issue