summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcos <cos>2023-11-08 18:05:27 +0100
committercos <cos>2023-11-08 18:05:27 +0100
commit91674cda15561ef4ed98a80ba9246d69a19bae1d (patch)
treea6aa13404c120bad215addd1868b88605b1ceb31
parent2f977c646a0ff491b3814e7d3843259ec9c7c4e2 (diff)
downloadmcwm-fix/suspend_aint_signal.zip
fixup! Fix unintentional exit on suspendfix/suspend_aint_signal
-rw-r--r--mcwm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mcwm.c b/mcwm.c
index 482617c..bf9ff26 100644
--- a/mcwm.c
+++ b/mcwm.c
@@ -3637,6 +3637,9 @@ void events(void)
if (sigcode != 0) {
/* We received a signal. Break out of loop. */
break;
+ } else {
+ /* Nothing found. Retry from start of loop. */
+ continue;
}
}
else