From dc81b8c2b3d12eb516f0b590bae798b8e5f1e1fa Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Wed, 17 Apr 2024 00:12:02 +0100 Subject: [PATCH] fix: clean exit returns 0. Fixes #531 --- quickemu | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/quickemu b/quickemu index eeb5efe..f17ed88 100755 --- a/quickemu +++ b/quickemu @@ -1975,6 +1975,8 @@ else start_viewer fi -[ -n "${MONITOR_CMD}" ] && monitor_send_cmd "${MONITOR_CMD}" +if [ -n "${MONITOR_CMD}" ]; then + monitor_send_cmd "${MONITOR_CMD}" +fi # vim:tabstop=2:shiftwidth=2:expandtab