cleanup(shellx): do not directly depend on apex/log (#357)
This commit is contained in:
parent
944d3c53fa
commit
39aec6677d
8 changed files with 52 additions and 39 deletions
|
|
@ -276,7 +276,7 @@ func main() {
|
|||
policy := iptablesStart()
|
||||
var err error
|
||||
if *mainCommand != "" {
|
||||
err = shellx.RunCommandline(fmt.Sprintf(
|
||||
err = shellx.RunCommandline(log.Log, fmt.Sprintf(
|
||||
"sudo -u '%s' -- %s", *mainUser, *mainCommand,
|
||||
))
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue