This commit is contained in:
CanbiZ
2025-05-07 13:25:04 +02:00
parent 1ba68f6461
commit 3a459d9035
3 changed files with 188 additions and 184 deletions

View File

@@ -402,6 +402,7 @@ echo_default() {
# This function is called when the user decides to exit the script. It clears the screen and displays an exit message.
exit_script() {
[[ -n "${SPINNER_PID:-}" ]] && kill "$SPINNER_PID" &>/dev/null || true
clear
echo -e "\n${CROSS}${RD}User exited script${CL}\n"
exit