- Reorder variable assignment

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

diff --git a/Shorewall/lib.cli-std b/Shorewall/lib.cli-std
index 62a457e9d..d78428eab 100644
--- a/Shorewall/lib.cli-std
+++ b/Shorewall/lib.cli-std
@@ -1441,13 +1441,13 @@ remote_capture() # $* = original arguments less the 
command.
            ;;
     esac
 
-    [ -f $g_shorewalldir/${PRODUCT}.conf ] || fatal_error "Missing file: 
$g_shorewalldir/${PRODUCT}.conf."
-
     g_export=Yes
 
-    ensure_config_path
+    get_config Yes
 
-    get_config No
+    [ -f $g_shorewalldir/${PRODUCT}.conf ] || fatal_error "Missing file: 
$g_shorewalldir/${PRODUCT}.conf."
+
+    ensure_config_path
 
     g_haveconfig=Yes
 
-- 
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