From 13e15035153cd9d114eeccd93f21a693d1ba1695 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Thu, 15 May 2025 16:25:44 +0200 Subject: [PATCH] Tesing --- misc/build.func | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/misc/build.func b/misc/build.func index 0f850cd..a2a045b 100644 --- a/misc/build.func +++ b/misc/build.func @@ -46,11 +46,11 @@ error_handler() { if [[ -n "$CT_ID" ]]; then read -p "Remove this Container? " prompt if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then - pct stop "$CTID" - pct destroy "$CTID" - msg_ok "Removed this script" + pct stop "$CTID" &> /dev/null + pct destroy "$CTID" &> /dev/null + msg_ok "Removed this Container" else - msg_warn "Did not remove this script" + msg_warn "Did not remove this Container" fi fi }