summaryrefslogtreecommitdiff
path: root/llmnrd.c
diff options
context:
space:
mode:
Diffstat (limited to 'llmnrd.c')
-rw-r--r--llmnrd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/llmnrd.c b/llmnrd.c
index e73f5f3..ab1a512 100644
--- a/llmnrd.c
+++ b/llmnrd.c
@@ -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",