From 150db046e3e69dc6499cba8512389ef72e9f163e Mon Sep 17 00:00:00 2001 From: XargonWan Date: Thu, 30 Nov 2023 09:37:17 +0100 Subject: [PATCH] QUIT: fixed syntax --- functions/dialogs.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/functions/dialogs.sh b/functions/dialogs.sh index dff4fabd..f50b0279 100644 --- a/functions/dialogs.sh +++ b/functions/dialogs.sh @@ -18,10 +18,9 @@ configurator_process_complete_dialog() { --title "RetroDECK Configurator Utility - Process Complete" \ --text="The process of $1 is now complete.\n\nYou may need to quit and restart RetroDECK for your changes to take effect\n\nClick OK to return to the Main Menu or Quit to quit RetroDECK." - if [ ! $? == 0 ] # OK button clicked - then + if [ ! $? == 0 ]; then # OK button clicked configurator_welcome_dialog - elif [ ! $? == 1 ] # Quit button clicked + elif [ ! $? == 1 ]; then # Quit button clicked pkill -f retrodeck pkill -f emulationstation fi @@ -242,4 +241,4 @@ low_space_warning() { fi fi fi -} +} \ No newline at end of file