summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--lib/network/shorewall.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 41d969d..a1800d8 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- correct path to shorewall config
- do not exec pkexec but run it so it has a parent process to fix double fork
issues mga#11184 mga#12364
diff --git a/lib/network/shorewall.pm b/lib/network/shorewall.pm
index 0ae7b9e..4532412 100644
--- a/lib/network/shorewall.pm
+++ b/lib/network/shorewall.pm
@@ -51,7 +51,7 @@ sub set_in_file {
$_ .= $last_line if $last_line;
$done = 1;
}
- } "$::prefix/etc/shorewall/$file";
+ } "$::prefix${shorewall_root}/$file";
}
sub dev_to_shorewall {