Skip to content

Commit

Permalink
bugfix: timeout is /usr/bin/timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Teye Heimans committed Oct 20, 2017
1 parent 9b6f4e8 commit f43df19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_cloudwatch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ then
exit ${STATE_UNKNOWN};
fi;

if type timeout 2>/dev/null;
if type timeout >/dev/null;
then
TIMEOUTCMD=timeout;
else
Expand Down

0 comments on commit f43df19

Please sign in to comment.