diff options
-rwxr-xr-x | nagios-check-printer-status | 2 |
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}; |