mirror of
https://github.com/gravitl/netmaker.git
synced 2025-11-03 11:02:11 +08:00
rm sprintf
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package daemon
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
"path/filepath"
|
||||
@@ -104,7 +103,7 @@ netclient_args="daemon"`
|
||||
}
|
||||
|
||||
func FreebsdDaemon(command string) {
|
||||
out, err := ncutils.RunCmd(fmt.Sprintf("service netclient %s", command), true)
|
||||
out, err := ncutils.RunCmd("service netclient "+command, true)
|
||||
ncutils.Log("output from RunCmd " + out)
|
||||
ncutils.Log("error from RunCmd " + err.Error())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user