packages: nagios-plugin-check_iptables/check_iptables - $* is local in func...
glen
glen at pld-linux.org
Thu Mar 18 19:05:11 CET 2010
Author: glen Date: Thu Mar 18 18:05:11 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- $* is local in function, save global value
---- Files affected:
packages/nagios-plugin-check_iptables:
check_iptables (1.5 -> 1.6)
---- Diffs:
================================================================
Index: packages/nagios-plugin-check_iptables/check_iptables
diff -u packages/nagios-plugin-check_iptables/check_iptables:1.5 packages/nagios-plugin-check_iptables/check_iptables:1.6
--- packages/nagios-plugin-check_iptables/check_iptables:1.5 Thu Mar 18 14:53:19 2010
+++ packages/nagios-plugin-check_iptables/check_iptables Thu Mar 18 19:05:03 2010
@@ -4,6 +4,7 @@
PROGNAME=${0##*/}
PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'`
REVISION=`echo '$Revision$' | sed -e 's/[^0-9.]//g'`
+ARGS="$*"
. $PROGPATH/utils.sh
@@ -54,7 +55,7 @@
cat /etc/sudoers > $new
cat >> $new <<-EOF
- # Lines matching CHECK_IPTABLES added by $0 $* on $(date)
+ # Lines matching CHECK_IPTABLES added by $0 $ARGS on $(date)
User_Alias CHECK_IPTABLES=nagios
CHECK_IPTABLES ALL=(root) NOPASSWD: $list_iptables
EOF
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-plugin-check_iptables/check_iptables?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list