]> git.meshlink.io Git - catta/commitdiff
daemon: reset signals on initialization
authorLennart Poettering <lennart@poettering.net>
Sat, 10 Jul 2010 14:30:57 +0000 (16:30 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 10 Jul 2010 14:30:57 +0000 (16:30 +0200)
avahi-daemon/main.c

index 0bba9111b4792aa4bf42d6f90f5346cacb1f80d8..c70040602a811cd837805b0da65aff8e00c77868 100644 (file)
@@ -1586,6 +1586,8 @@ int main(int argc, char *argv[]) {
             if (daemon_close_all(-1) < 0)
                 avahi_log_warn("Failed to close all remaining file descriptors: %s", strerror(errno));
 
+        daemon_reset_sigs(-1);
+
         if (make_runtime_dir() < 0)
             goto finish;