From f92db0bb4d806f95efc8216243421ae30658b8f0 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 13 Sep 2011 02:08:15 +0300 Subject: [PATCH] dsync: Ignore SIGHUP --- src/dsync/dsync.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dsync/dsync.c b/src/dsync/dsync.c index 70aa3bbce8..0cee8c86a0 100644 --- a/src/dsync/dsync.c +++ b/src/dsync/dsync.c @@ -1,6 +1,7 @@ /* Copyright (c) 2009-2011 Dovecot authors, see the included COPYING file */ #include "lib.h" +#include "lib-signals.h" #include "array.h" #include "execv-const.h" #include "settings-parser.h" @@ -230,6 +231,7 @@ int main(int argc, char *argv[]) usage(); } master_service_init_finish(master_service); + lib_signals_ignore(SIGHUP, TRUE); if (!dsync_debug) { /* disable debugging unless -D is given */ -- 2.47.3