From d22210c074d5bacb73834233504bfedac4947640 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 14 Nov 2017 13:46:41 -0800 Subject: [PATCH] Set g_export before calling get_config() Signed-off-by: Tom Eastep --- Shorewall/lib.cli-std | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall/lib.cli-std b/Shorewall/lib.cli-std index e78d5a3c2..cfcc89d5e 100644 --- a/Shorewall/lib.cli-std +++ b/Shorewall/lib.cli-std @@ -1540,6 +1540,8 @@ remote_reload_command() # $* = original arguments less the command. litedir="${VARDIR}-lite" fi + g_export=Yes + if [ -f $g_shorewalldir/${PRODUCT}.conf ]; then if [ -f $g_shorewalldir/params ]; then . $g_shorewalldir/params @@ -1579,8 +1581,6 @@ remote_reload_command() # $* = original arguments less the command. file=$(resolve_file $g_shorewalldir/firewall) - g_export=Yes - program=$sbindir/${PRODUCT}-lite # # Handle nonstandard remote VARDIR