1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2025-01-01 15:12:05 +01:00

fix: explicitly exit after dialog

This commit is contained in:
aclist 2023-11-15 20:18:11 +09:00
parent f689f24c15
commit 83850223e2

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -o pipefail set -o pipefail
version=4.0.0-rc.5 version=4.0.0-rc.6
aid=221100 aid=221100
game="dayz" game="dayz"
@ -1736,8 +1736,8 @@ check_architecture(){
logger INFO "Setting architecture to 'Steam Deck'" logger INFO "Setting architecture to 'Steam Deck'"
[[ $is_steam_deck -eq 1 ]] && test_display_mode [[ $is_steam_deck -eq 1 ]] && test_display_mode
if [[ $gamemode -eq 1 ]]; then if [[ $gamemode -eq 1 ]]; then
popup 1400 popup 1400 &&
return 1 exit 1
fi fi
else else
is_steam_deck=0 is_steam_deck=0