From: Lennart Poettering Date: Sat, 10 Jul 2010 14:30:57 +0000 (+0200) Subject: daemon: reset signals on initialization X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=43d693c40ec026a2197031d481c1fb9cadae4410;p=catta daemon: reset signals on initialization --- diff --git a/avahi-daemon/main.c b/avahi-daemon/main.c index 0bba911..c700406 100644 --- a/avahi-daemon/main.c +++ b/avahi-daemon/main.c @@ -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;