We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ab42e0c + 1a7159d commit 671e137Copy full SHA for 671e137
status.sh
@@ -915,7 +915,7 @@ while IFS=';' read -r MY_COMMAND MY_HOSTNAME_STRING MY_PORT || [[ -n "$MY_COMMAN
915
else
916
cmd="$MY_HOSTNAME"
917
fi
918
- (timeout "$MY_SCRIPT_TIMEOUT" --preserve-status "$cmd" &> /dev/null)
+ (timeout --preserve-status "$MY_SCRIPT_TIMEOUT" "$cmd" &> /dev/null)
919
case "$?" in
920
"0")
921
check_downtime "$MY_COMMAND" "$MY_HOSTNAME_STRING" "$MY_PORT"
0 commit comments