From 846ab43c1f37dfe7ac66d8396c4eaadef4588c58 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 15 Feb 2006 15:08:42 +0000 Subject: Check for existance, not -x git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@59 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- nagios-check-raid-3ware | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nagios-check-raid-3ware') 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; }; -- cgit v1.2.3