forked from extern/shorewall_code
A couple of cosmetic changes
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5775 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
b1587a7b1f
commit
040fd9b92e
@ -316,7 +316,6 @@ END {
|
||||
close $object;
|
||||
unlink $tempfile;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
1;
|
||||
|
@ -772,7 +772,7 @@ sub generate_aux_config() {
|
||||
|
||||
create_temp_aux_config;
|
||||
|
||||
emit( "#\n# Shorewall auxiliary configuration file created by Shorewall-perl version " . $globals{VERSION} . ' - ' . ( localtime ) . "\n#" );
|
||||
emit join ( '', "#\n# Shorewall auxiliary configuration file created by Shorewall-perl version ", $globals{VERSION}, ' - ' , localtime , "\n#" );
|
||||
|
||||
for my $option qw(VERBOSITY LOGFILE LOGFORMAT IPTABLES PATH SHOREWALL_SHELL SUBSYSLOCK RESTOREFILE SAVE_IPSETS) {
|
||||
conditionally_add_option $option;
|
||||
@ -787,9 +787,7 @@ sub generate_aux_config() {
|
||||
END {
|
||||
if ( $tmp_dir ) {
|
||||
my $exitstatus = $?; #Changed by system()
|
||||
|
||||
system "rm -rf $tmp_dir";
|
||||
|
||||
$? = $exitstatus;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user