From c97226c46caf2a923de460d9ceab3be8ef4d4b9c Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 2 Nov 2014 09:25:23 -0800 Subject: [PATCH] Correct behavior of 'start -fC' Signed-off-by: Tom Eastep --- Shorewall/lib.cli-std | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Shorewall/lib.cli-std b/Shorewall/lib.cli-std index 5f04c5c21..a7be3d88b 100644 --- a/Shorewall/lib.cli-std +++ b/Shorewall/lib.cli-std @@ -574,14 +574,14 @@ start_command() { esac if [ -n "${g_fast}${AUTOMAKE}" ]; then - if [ -z "$g_fast" -o -z "$LEGACY_FASTSTART" ]; then + if [ -z "$g_fast" -o -z "${LEGACY_FASTSTART}${g_counters}" ]; then # - # Automake or LEGACY_FASTSTART=No -- use the last compiled script + # Automake or ( LEGACY_FASTSTART=No and not -C ) -- use the last compiled script # object=firewall else # - # 'start -f' with LEGACY_FASTSTART=Yes -- use last saved configuration + # 'start -f' with ( LEGACY_FASTSTART=Yes or -C ) -- use last saved configuration # object=$RESTOREFILE fi