This commit is contained in:
CanbiZ 2025-05-15 15:59:52 +02:00
commit 0c9c28a3e7

View File

@ -1428,10 +1428,10 @@ EOF
systemctl start ping-instances.service
fi
read -p "Remove this script? <y/N> " prompt
read -p "Remove this Container? <y/N> " 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"