mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
RD_ZENITY: fixed an issue hwere the status was not correctly passed in some cases
This commit is contained in:
parent
1fdc81aa08
commit
246001b1f0
|
@ -301,7 +301,9 @@ rd_zenity() {
|
||||||
# This function replaces the standard 'zenity' command and filters out annoying GTK errors on Steam Deck
|
# This function replaces the standard 'zenity' command and filters out annoying GTK errors on Steam Deck
|
||||||
export GUI="zenity"
|
export GUI="zenity"
|
||||||
zenity 2> >(grep -v 'Gtk' >&2) "$@"
|
zenity 2> >(grep -v 'Gtk' >&2) "$@"
|
||||||
|
local status=${PIPESTATUS[0]} # Capture the exit code of 'zenity'
|
||||||
unset GUI
|
unset GUI
|
||||||
|
return $status
|
||||||
}
|
}
|
||||||
|
|
||||||
update_rpcs3_firmware() {
|
update_rpcs3_firmware() {
|
||||||
|
|
Loading…
Reference in a new issue