From 90ee6afb9023cfba9f7619a4247f49794d49e7aa Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sun, 31 Oct 2021 08:19:33 -0500 Subject: [PATCH] Bugfix: Use BLOCK after UNBLOCK rather than UNBLOCK again. --- level_3/controller/c/private-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/level_3/controller/c/private-common.c b/level_3/controller/c/private-common.c index 832cf55..3641edb 100644 --- a/level_3/controller/c/private-common.c +++ b/level_3/controller/c/private-common.c @@ -955,7 +955,7 @@ extern "C" { const int result = nanosleep(&time, 0); if (setting->interruptible) { - f_signal_mask(SIG_UNBLOCK, &main->signal.set, 0); + f_signal_mask(SIG_BLOCK, &main->signal.set, 0); } return result; -- 1.8.3.1