]> git.pld-linux.org Git - packages/nagios-plugins.git/blame - syntax-error.patch
- update R:ping
[packages/nagios-plugins.git] / syntax-error.patch
CommitLineData
09ac797b
ER
1upstream:
2https://github.com/nagios-plugins/nagios-plugins/pull/110
3
4commit 842384a9097f30265637040d7f719f619a310118
5Author: Elan Ruusamäe <glen@delfi.ee>
6Date: 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
18diff --git a/plugins-scripts/check_mailq.pl b/plugins-scripts/check_mailq.pl
19index 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.08982 seconds and 4 git commands to generate.