From 5eb0bf819d85388991adc93a8cc166cc1587bfd5 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sun, 12 Jan 2025 22:43:18 +0700 Subject: [PATCH] simplify: always call progress() --- xpra/scripts/server.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/xpra/scripts/server.py b/xpra/scripts/server.py index 8f575e8997..b733b57e73 100644 --- a/xpra/scripts/server.py +++ b/xpra/scripts/server.py @@ -659,10 +659,9 @@ def noprogressshown(*_args): error_cb, opts, extra_args, full_mode, display_name, defaults, splash_process, progress) except Exception as e: - if splash_process and splash_process.poll() is None: - progress(100, f"error: {e}") - import time - time.sleep(1) + progress(100, f"error: {e}") + import time + time.sleep(1) raise