From b9af9155eae96f3e300bb2ea6eca4c9659fdab7c Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Fri, 16 May 2025 08:55:56 +0200 Subject: [PATCH] Changes to build.func --- misc/build.func | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/build.func b/misc/build.func index fd9f8dc..7086827 100644 --- a/misc/build.func +++ b/misc/build.func @@ -46,8 +46,8 @@ error_handler() { if [[ -n "$CT_ID" ]]; then read -p "Remove this Container? " prompt if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then - pct stop "$CTID" &> /dev/null - pct destroy "$CTID" &> /dev/null + pct stop "$CT_ID" &> /dev/null + pct destroy "$CT_ID" &> /dev/null msg_ok "Removed this Container" else msg_warn "Did not remove this Container"