Skip to content

Commit

Permalink
Fix pre/post install script
Browse files Browse the repository at this point in the history
  • Loading branch information
rs committed Nov 23, 2019
1 parent 846f244 commit 6148db5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions service.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@ func svc(cmd string) error {
status = "stopped"
}
fmt.Println(status)
if status != "running" {
os.Exit(1)
}
return nil
case "run":
if *reportClientInfo {
Expand Down

0 comments on commit 6148db5

Please sign in to comment.