Skip to content

Commit

Permalink
status-command now returns 0 when keeper is alive
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-reinders committed Apr 27, 2019
1 parent 421abbc commit 59acb24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ case "${1}" in
fi;
fi;

script_end $(screen_status "${SCREEN_NAME}"; echo ${?})
script_end $(screen_status "${SCREEN_NAME}" || screen_status "K_${SCREEN_NAME}"; echo "${?}")
;;
last-exit-code)
LAST_EXIT_CODE="$(screen_last_exitcode ${SCREEN_NAME}; echo ${?})"
Expand Down

0 comments on commit 59acb24

Please sign in to comment.