diff options
-rwxr-xr-x | nagios-check-raid-3ware | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nagios-check-raid-3ware b/nagios-check-raid-3ware index 6073a78..9a4e60f 100755 --- a/nagios-check-raid-3ware +++ b/nagios-check-raid-3ware @@ -57,7 +57,7 @@ $SIG{'__DIE__'} = sub { exit $UNKNOWN; }; -unless (-x $TW_CLI) { +unless (-e $TW_CLI) { print "Cannot find '$TW_CLI'.\n"; exit $UNKNOWN; }; |