]> git.ipfire.org Git - people/ms/network.git/commitdiff
Change two forgotten calls of zone_has_remove_tag
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 25 Dec 2014 21:13:39 +0000 (21:13 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 25 Dec 2014 21:13:39 +0000 (21:13 +0000)
src/functions/functions.zone

index f23d1ad6d3f3912f28c3d4cdad734ff355d4d35e..26fed661ad980e3fe99d259fd4cb41ab6fe5fba4 100644 (file)
@@ -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
 }