From 846e8c4ece80e57bd41e31f065446f32116d61c3 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 19 Sep 2017 13:17:50 -0700 Subject: [PATCH] Correct reenable logic Signed-off-by: Tom Eastep --- Shorewall/Perl/prog.footer | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Shorewall/Perl/prog.footer b/Shorewall/Perl/prog.footer index 6b18bcd65..7538a57eb 100644 --- a/Shorewall/Perl/prog.footer +++ b/Shorewall/Perl/prog.footer @@ -419,9 +419,12 @@ case "$COMMAND" in [ $# -ne 1 ] && usage 2 mutex_on if product_is_started; then + COMMAND=disable detect_configuration $1 - COMMAND=enable disable_provider $1 Yes - COMMAND=disable enable_provider $1 Yes + disable_provider $1 Yes + COMMAND=enable + detect_configuration $1 + enable_provider $1 Yes fi mutex_off status=0