]> git.pld-linux.org Git - packages/nagios-plugin-check_iptables.git/blobdiff - check_iptables
- cleanup, list complete command line args
[packages/nagios-plugin-check_iptables.git] / check_iptables
index b7ea78ace0a866afc3ff55baf74ae9e9f0941ad5..f9488854a5b8fd58aa2e23787196a287e9f47ed9 100644 (file)
@@ -53,7 +53,7 @@ setup_sudoers() {
        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 @@ setup_sudoers() {
                mv -f $new /etc/sudoers
                exit 0
        fi
-#      rm -f $new
+       rm -f $new
        exit 1
 }
 
This page took 1.475382 seconds and 4 git commands to generate.