From: Michael Tremer Date: Sat, 27 Dec 2014 20:22:04 +0000 (+0000) Subject: zone_destroy_now: Call proper functions to shut down the zone X-Git-Tag: 007~46 X-Git-Url: http://git.ipfire.org/?p=people%2Fms%2Fnetwork.git;a=commitdiff_plain;h=d5c9bd17a780adaedd230024ef9bbf8b2ed50d4d zone_destroy_now: Call proper functions to shut down the zone --- diff --git a/src/functions/functions.zone b/src/functions/functions.zone index 22688a26..a7bf71f8 100644 --- a/src/functions/functions.zone +++ b/src/functions/functions.zone @@ -309,7 +309,7 @@ function zone_destroy_now() { log INFO "Removing zone '${zone}' right now." # Force the zone down. - zone_is_up "${zone}" && zone_set_down "${zone}" + zone_is_active "${zone}" && zone_stop "${zone}" # Disable zone. zone_disable "${zone}"