From 246001b1f0fd2d12e3df07ee1a8549efe2086eda Mon Sep 17 00:00:00 2001 From: XargonWan Date: Tue, 18 Feb 2025 11:57:11 +0900 Subject: [PATCH] RD_ZENITY: fixed an issue hwere the status was not correctly passed in some cases --- functions/other_functions.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions/other_functions.sh b/functions/other_functions.sh index 63804b32..8dcd971a 100644 --- a/functions/other_functions.sh +++ b/functions/other_functions.sh @@ -301,7 +301,9 @@ rd_zenity() { # This function replaces the standard 'zenity' command and filters out annoying GTK errors on Steam Deck export GUI="zenity" zenity 2> >(grep -v 'Gtk' >&2) "$@" + local status=${PIPESTATUS[0]} # Capture the exit code of 'zenity' unset GUI + return $status } update_rpcs3_firmware() {