QUIT: fixed syntax

This commit is contained in:
XargonWan 2023-11-30 09:37:17 +01:00
parent 0fc93d019a
commit 150db046e3

View file

@ -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
}
}