projects
/
mirror
/
dsa-nagios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3cd8ad
)
sigh, I always get those backwards
author
Stephen Gran
<steve@lobefin.net>
Sat, 30 Jul 2011 12:49:11 +0000
(13:49 +0100)
committer
Stephen Gran
<steve@lobefin.net>
Sat, 30 Jul 2011 12:49:11 +0000
(13:49 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
dsa-nagios-checks/checks/dsa-check-raid-megactl
patch
|
blob
|
history
diff --git
a/dsa-nagios-checks/checks/dsa-check-raid-megactl
b/dsa-nagios-checks/checks/dsa-check-raid-megactl
index
da6a6f2
..
2443f24
100755
(executable)
--- a/
dsa-nagios-checks/checks/dsa-check-raid-megactl
+++ b/
dsa-nagios-checks/checks/dsa-check-raid-megactl
@@
-91,12
+91,12
@@
if (@errs) {
print "CRITICAL: ";
print @errs;
print "\n";
- exit
1
;
+ exit
2
;
} elsif (@warn) {
print "WARNING: ";
print @warn;
print "\n";
- exit
2
;
+ exit
1
;
}
unless (@ok) {
push @ok, "All devices OK";