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