Skip to content

Commit

Permalink
svctl: don't exit if the checked service is down
Browse files Browse the repository at this point in the history
  • Loading branch information
cemkeylan committed Apr 17, 2020
1 parent 0ceba30 commit 29c9803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sysmgr
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ fn_svctl() {
# need an if statement here.
# shellcheck disable=2015
checkprocess "$pid" && out "$service: OK" ||
{ out "$service: DOWN" ; exit 1 ;}
out "$service: DOWN"
;;
restart)
fn_svctl kill "$service"
Expand Down

0 comments on commit 29c9803

Please sign in to comment.