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

View File

@@ -1428,10 +1428,10 @@ EOF
systemctl start ping-instances.service systemctl start ping-instances.service
fi fi
read -p "Remove this script? <y/N> " prompt read -p "Remove this Container? <y/N> " prompt
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
pct stop "$CTID" pct stop "$CTID"
pct remove "$CTID" pct destroy "$CTID"
msg_ok "Removed this script" msg_ok "Removed this script"
else else
msg_warn "Did not remove this script" msg_warn "Did not remove this script"