- Reorder variable assignment

Signed-off-by: Matt Darfeuille <matd...@gmail.com>
---
 Shorewall/lib.cli-std | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Shorewall/lib.cli-std b/Shorewall/lib.cli-std
index 62a457e9d..6ff7a8d28 100644
--- a/Shorewall/lib.cli-std
+++ b/Shorewall/lib.cli-std
@@ -1441,10 +1441,11 @@ remote_capture() # $* = original arguments less the 
command.
            ;;
     esac
 
-    [ -f $g_shorewalldir/${PRODUCT}.conf ] || fatal_error "Missing file: 
$g_shorewalldir/${PRODUCT}.conf."
-
     g_export=Yes
 
+    [ -f $g_shorewalldir/${PRODUCT}.conf ] || fatal_error "Missing file: 
$g_shorewalldir/${PRODUCT}.conf."
+    [ -f $g_shorewalldir/params ] && . $g_shorewalldir/params
+
     ensure_config_path
 
     get_config No
-- 
2.16.2


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Shorewall-devel mailing list
Shorewall-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to