Correct reenable logic

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2017-09-19 13:17:50 -07:00
parent 1cde92e8f3
commit 846e8c4ece
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -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