From 858f0d7befce26fae1a16dc6e10c22ca5518ea5a Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 28 Jul 2025 09:22:03 +0200 Subject: [PATCH] Update create_lxc.sh --- misc/create_lxc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/create_lxc.sh b/misc/create_lxc.sh index 6e966872..03d80131 100644 --- a/misc/create_lxc.sh +++ b/misc/create_lxc.sh @@ -61,7 +61,7 @@ exit_script() { clear printf "\e[?25h" echo -e "\n${CROSS}${RD}User exited script${CL}\n" - kill 0 + kill -TERM "$TOP_PID" 2>/dev/null || exit 1 exit 1 }