summaryrefslogtreecommitdiffstats
path: root/perl-install/tinyfirewall.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/tinyfirewall.pm')
-rw-r--r--perl-install/tinyfirewall.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/perl-install/tinyfirewall.pm b/perl-install/tinyfirewall.pm
index f8d5889a9..e893f1667 100644
--- a/perl-install/tinyfirewall.pm
+++ b/perl-install/tinyfirewall.pm
@@ -82,10 +82,8 @@ sub SaveConfig {
or die _("Can't open %s: %s\n", $config_file, $!);
open TMPFILE, ">$tmp_file"
or die _("Can't open %s for writing: %s\n", $tmp_file, $!);
- while (my $line = <CONFIGFILE>)
- {
- if ($line =~ m/^(.+)\s*\=\s*"(.*)"/)
- {
+ while (my $line = <CONFIGFILE>) {
+ if ($line =~ m/^(.+)\s*\=\s*"(.*)"/) {
my ($variable, $value) = ($1, $2);
my $newvalue = $settings{$variable};
$line =~ s/".*"/"$newvalue"/