summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2006-10-04 14:20:22 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2006-10-04 14:20:22 +0000
commit5ed2a6cc1b5b4976da0747866ed1c051dfa263c8 (patch)
tree4b67f0ec993ac67890da0d452e05f15b9c199b9c
parent4ecfe600bea338815bb6a6e4b992f32bd010964b (diff)
Minor fix
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@189 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-xnagios-check-printer-status2
1 files changed, 1 insertions, 1 deletions
diff --git a/nagios-check-printer-status b/nagios-check-printer-status
index 768eac0..dfb840f 100755
--- a/nagios-check-printer-status
+++ b/nagios-check-printer-status
@@ -66,4 +66,4 @@ while (<LP>) {
close (LP);
print "$exit: ".(join "; ", @msg)."\n";
-exit $exit;
+exit $CODE{$exit};