diff --git a/misc/build.func b/misc/build.func index 65b53ef..8222a50 100644 --- a/misc/build.func +++ b/misc/build.func @@ -1428,10 +1428,10 @@ EOF systemctl start ping-instances.service fi - read -p "Remove this script? " prompt + read -p "Remove this Container? " prompt if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then pct stop "$CTID" - pct remove "$CTID" + pct destroy "$CTID" msg_ok "Removed this script" else msg_warn "Did not remove this script"