diff --git a/check_cloudwatch.sh b/check_cloudwatch.sh index 707f89e..9dc906b 100755 --- a/check_cloudwatch.sh +++ b/check_cloudwatch.sh @@ -476,7 +476,7 @@ then exit ${STATE_UNKNOWN}; fi; -if type timeout 2>/dev/null; +if type timeout >/dev/null; then TIMEOUTCMD=timeout; else