diff options
author | Peter Palfrader <peter@palfrader.org> | 2006-02-15 15:08:42 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2006-02-15 15:08:42 +0000 |
commit | 846ab43c1f37dfe7ac66d8396c4eaadef4588c58 (patch) | |
tree | 651290b25ecc0875de5b6efef4f39fb114e90e42 /nagios-check-raid-3ware | |
parent | 778467a6e7afae14541f0cbdf7fff70f8547de85 (diff) |
Check for existance, not -x
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@59 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'nagios-check-raid-3ware')
-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; }; |