|
@@ -94,13 +94,13 @@ func main() {
|
|
|
}
|
|
|
err = service.Control(s, os.Args[1])
|
|
|
if err != nil {
|
|
|
- logs.Error("Valid actions: %q\n", service.ControlAction, err.Error())
|
|
|
+ logs.Error("Valid actions: %q\n%s", service.ControlAction, err.Error())
|
|
|
}
|
|
|
return
|
|
|
case "start", "restart", "stop", "uninstall":
|
|
|
err := service.Control(s, os.Args[1])
|
|
|
if err != nil {
|
|
|
- logs.Error("Valid actions: %q\n", service.ControlAction, err.Error())
|
|
|
+ logs.Error("Valid actions: %q\n%s", service.ControlAction, err.Error())
|
|
|
}
|
|
|
return
|
|
|
case "update":
|