From 607387991ab2bf580766b43648c51aa2dc18a5cc Mon Sep 17 00:00:00 2001 From: Michael DeGuzis Date: Tue, 25 Jun 2024 03:51:41 -0400 Subject: [PATCH] fix exit --- utilities/update-software/launch-update-software.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utilities/update-software/launch-update-software.sh b/utilities/update-software/launch-update-software.sh index 889b38b2..bb48184e 100755 --- a/utilities/update-software/launch-update-software.sh +++ b/utilities/update-software/launch-update-software.sh @@ -21,16 +21,16 @@ export LD_PRELOAD="" if [[ -f "/usr/bin/xterm" ]]; then xterm -fg white -bg black \ -maximized -fa 'Monospace' -fs 24 \ - -e '$SHELL -c "${HOME}/.local/bin/update-software.sh && exit; $SHELL"' + -e '$SHELL -c "${HOME}/.local/bin/update-software.sh; exit; $SHELL"' elif [[ -f "/usr/bin/konsole" ]]; then - konsole -e '$SHELL -c "${HOME}/.local/bin/update-software.sh && exit; $SHELL"' + konsole -e '$SHELL -c "${HOME}/.local/bin/update-software.sh; exit; $SHELL"' elif [[ -f "/usr/bin/gnome-terminal" ]]; then - gnome-terminal -e '$SHELL -c "${HOME}/.local/bin/update-software.sh && exit; $SHELL"' + gnome-terminal -e '$SHELL -c "${HOME}/.local/bin/update-software.sh; exit; $SHELL"' elif [[ -f "/usr/bin/kgx" ]]; then - kgx -e '$SHELL -c "${HOME}/.local/bin/update-software.sh && exit; $SHELL"' + kgx -e '$SHELL -c "${HOME}/.local/bin/update-software.sh; exit; $SHELL"' else echo "[ERROR] Unknown terminal in use"