]> TLD Linux GIT Repositories - packages/shorewall.git/commitdiff
- move get_params after parsing config so it uses proper shell
authorMarcin Krol <hawk@tld-linux.org>
Wed, 20 Jun 2018 12:35:21 +0000 (12:35 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Wed, 20 Jun 2018 12:35:21 +0000 (12:35 +0000)
  from shorewall.conf instead of /bin/sh

shell-fix.patch [new file with mode: 0644]

diff --git a/shell-fix.patch b/shell-fix.patch
new file mode 100644 (file)
index 0000000..5645c8e
--- /dev/null
@@ -0,0 +1,16 @@
+diff -ur shorewall-5.2.0.4.orig/shorewall-5.2.0.4/Perl/Shorewall/Config.pm shorewall-5.2.0.4/shorewall-5.2.0.4/Perl/Shorewall/Config.pm
+--- shorewall-5.2.0.4.orig/shorewall-5.2.0.4/Perl/Shorewall/Config.pm  2018-05-18 18:46:49.000000000 +0000
++++ shorewall-5.2.0.4/shorewall-5.2.0.4/Perl/Shorewall/Config.pm       2018-06-20 12:32:04.348554961 +0000
+@@ -6250,10 +6250,10 @@
+       $have_capabilities = 1;
+     }
+-    get_params( $export );
+-
+     process_shorewall_conf( $update, $annotate );
++    get_params( $export );
++
+     ensure_config_path;
+     @INC = @originalinc;