This commit is contained in:
Michel Roegl-Brunner 2025-05-15 16:21:36 +02:00
parent 931acfbfa4
commit 9f6fde840f

View File

@ -43,7 +43,7 @@ error_handler() {
post_update_to_api "failed" "${command}"
echo -e "\n$error_message\n"
if [[ -n "$CTD_ID" ]]; then
if [[ -n "$CT_ID" ]]; then
read -p "Remove this Container? <y/N> " prompt
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
pct stop "$CTID"