]> git.pld-linux.org Git - packages/nagios-plugins.git/blob - syntax-error.patch
f092ebdd8164512218b1e524a7219a1f2ff2aebc
[packages/nagios-plugins.git] / syntax-error.patch
1 upstream:
2 https://github.com/nagios-plugins/nagios-plugins/pull/110
3
4 commit 842384a9097f30265637040d7f719f619a310118
5 Author: Elan Ruusamäe <glen@delfi.ee>
6 Date:   Fri Oct 2 15:06:24 2015 +0300
7
8     fix stupid syntax error!
9     
10     can be catched with trival compile only run:
11     
12     $ perl -c check_mailq.pl
13     syntax error at check_mailq.pl line 40, near ")
14     
15     sub print_help ()"
16     check_mailq.pl had compilation errors.
17
18 diff --git a/plugins-scripts/check_mailq.pl b/plugins-scripts/check_mailq.pl
19 index 65247a2..e503fa9 100755
20 --- a/plugins-scripts/check_mailq.pl
21 +++ b/plugins-scripts/check_mailq.pl
22 @@ -35,7 +35,7 @@ use FindBin;
23  use lib "$FindBin::Bin";
24  use utils qw(%ERRORS &print_revision &support &usage );
25  
26 -my ($sudo)
27 +my ($sudo);
28  
29  sub print_help ();
30  sub print_usage ();
This page took 0.048811 seconds and 2 git commands to generate.