This commit is contained in:
cnlh committed 2020-01-07 10:02:58 +08:00
1 parent 8590dfde30
commit 35311010a6
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -114,7 +114,7 @@ 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
}
+2 -2
View File
@@ -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":