packages: nagios-plugin-check_iptables/check_iptables - cleanup, list compl...

glen glen at pld-linux.org
Thu Mar 18 14:03:25 CET 2010


Author: glen                         Date: Thu Mar 18 13:03:25 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- cleanup, list complete command line args

---- Files affected:
packages/nagios-plugin-check_iptables:
   check_iptables (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/nagios-plugin-check_iptables/check_iptables
diff -u packages/nagios-plugin-check_iptables/check_iptables:1.1 packages/nagios-plugin-check_iptables/check_iptables:1.2
--- packages/nagios-plugin-check_iptables/check_iptables:1.1	Thu Mar 18 13:59:45 2010
+++ packages/nagios-plugin-check_iptables/check_iptables	Thu Mar 18 14:03:17 2010
@@ -53,7 +53,7 @@
 	cat /etc/sudoers > $new
 	cat >> $new <<-EOF
 
-	# Lines matching CHECK_IPTABLES added by $0 -S on $(date)
+	# Lines matching CHECK_IPTABLES added by $0 $* on $(date)
 	User_Alias CHECK_IPTABLES=nagios
 	CHECK_IPTABLES ALL=(root) NOPASSWD: $iptables -n -t $table -L $chain
 	EOF
@@ -62,7 +62,7 @@
 		mv -f $new /etc/sudoers
 		exit 0
 	fi
-#	rm -f $new
+	rm -f $new
 	exit 1
 }
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-plugin-check_iptables/check_iptables?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list