summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2006-02-15 15:08:42 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2006-02-15 15:08:42 +0000
commit846ab43c1f37dfe7ac66d8396c4eaadef4588c58 (patch)
tree651290b25ecc0875de5b6efef4f39fb114e90e42
parent778467a6e7afae14541f0cbdf7fff70f8547de85 (diff)
Check for existance, not -x
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@59 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-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;
};