summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnagios-check-raid-3ware2
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;
};