summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcos <cos>2023-11-08 18:05:27 +0100
committercos <cos>2024-06-08 09:16:00 +0200
commit959c7589ac08e9d61e2037a5780605e22ebfa408 (patch)
treeada1fd628354b26ea3f91bfccd7953a9680112c2
parent54c1d45da12109a157f80868ab545f82a6f8118c (diff)
downloadmcwm-959c7589ac08e9d61e2037a5780605e22ebfa408.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 771c997..4921c1e 100644
--- a/mcwm.c
+++ b/mcwm.c
@@ -3638,6 +3638,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