From 5ed2a6cc1b5b4976da0747866ed1c051dfa263c8 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 4 Oct 2006 14:20:22 +0000 Subject: Minor fix git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@189 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- nagios-check-printer-status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () { close (LP); print "$exit: ".(join "; ", @msg)."\n"; -exit $exit; +exit $CODE{$exit}; -- cgit v1.2.3