git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_printer/use_data_dumper_if_needed
blob: 977338ef8f170d63b5961457c98bff8d2956e2ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/check_printer/check_printer
+++ b/check_printer/check_printer
@@ -40,7 +40,6 @@ if ($OS =~ m/^\wBSD/){
 	use lib "/usr/local/nagios/libexec";
 }
 
-use Data::Dumper;
 use Getopt::Long;
 use Pod::Usage;
 
@@ -109,6 +108,7 @@ foreach(@vars){
 }
 
 if ($debug){
+        use Data::Dumper;
 	print Dumper(\@values);
 }
 my %finvalues;