diff options
-rw-r--r-- | llmnrd.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -98,6 +98,7 @@ static void register_signal(int sig, void (*handler)(int)) saction.sa_handler = handler; saction.sa_mask = block_mask; + saction.sa_flags = SA_RESTART; if (sigaction(sig, &saction, NULL) != 0) { log_err("Failed to register signal handler for %s (%d)\n", |