From: Michael Tremer Date: Thu, 25 Dec 2014 21:13:39 +0000 (+0000) Subject: Change two forgotten calls of zone_has_remove_tag X-Git-Tag: 007~51 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fa0eb21fe367f80abbe9624634be06e80f21b112;p=network.git Change two forgotten calls of zone_has_remove_tag --- diff --git a/src/functions/functions.zone b/src/functions/functions.zone index f23d1ad6..26fed661 100644 --- a/src/functions/functions.zone +++ b/src/functions/functions.zone @@ -327,7 +327,7 @@ function zone_up() { fi # Check if a zone has got the remove tag. - if zone_has_remove_tag ${zone}; then + if zone_has_destroy_tag ${zone}; then error "Cannot bring up any zone which is to be removed." return ${EXIT_ERROR} fi @@ -406,7 +406,7 @@ function zone_status() { hook_zone_exec "${hook}" "status" "${zone}" "$@" # Show that the zone it to be removed soon. - if zone_has_remove_tag ${zone}; then + if zone_has_destroy_tag ${zone}; then warning "This zone is tagged for removal." fi }