diff options
Diffstat (limited to 'src/basic/async.c')
-rw-r--r-- | src/basic/async.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/basic/async.c b/src/basic/async.c index 1c4b575b05..c45ca01847 100644 --- a/src/basic/async.c +++ b/src/basic/async.c @@ -32,10 +32,7 @@ int asynchronous_job(void* (*func)(void *p), void *arg) { goto finish; } - if (sigfillset(&ss) < 0) { - r = -errno; - goto finish; - } + assert_se(sigfillset(&ss) >= 0); /* Block all signals before forking off the thread, so that the new thread is started with all signals * blocked. This way the existence of the new thread won't affect signal handling in other threads. */ |