Skip to content

Commit 59acb24

Browse files
committed
status-command now returns 0 when keeper is alive
1 parent 421abbc commit 59acb24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

control.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,7 @@ case "${1}" in
10631063
fi;
10641064
fi;
10651065

1066-
script_end $(screen_status "${SCREEN_NAME}"; echo ${?})
1066+
script_end $(screen_status "${SCREEN_NAME}" || screen_status "K_${SCREEN_NAME}"; echo "${?}")
10671067
;;
10681068
last-exit-code)
10691069
LAST_EXIT_CODE="$(screen_last_exitcode ${SCREEN_NAME}; echo ${?})"

0 commit comments

Comments
 (0)