]> git.ipfire.org Git - people/stevee/network.git/blobdiff - src/functions/functions.zone
Change two forgotten calls of zone_has_remove_tag
[people/stevee/network.git] / 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
 }