Mercurial > dovecot > core-2.2
changeset 13484:41dd8f4d44d5
dsync: Ignore SIGHUP
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 13 Sep 2011 02:08:15 +0300 |
parents | df8bd044a47d |
children | d635bcf35df7 |
files | src/dsync/dsync.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dsync/dsync.c Tue Sep 13 02:07:30 2011 +0300 +++ b/src/dsync/dsync.c Tue Sep 13 02:08:15 2011 +0300 @@ -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 @@ usage(); } master_service_init_finish(master_service); + lib_signals_ignore(SIGHUP, TRUE); if (!dsync_debug) { /* disable debugging unless -D is given */