[dovecot-cvs] dovecot/src/master main.c,1.10,1.11
cras at procontrol.fi
cras at procontrol.fi
Thu Nov 14 14:53:06 EET 2002
- Previous message: [dovecot-cvs] dovecot/src/lib-charset charset-utf8.c,NONE,1.1 Makefile.am,1.1,1.2 charset-iconv.c,1.3,1.4 charset-ascii.c,1.4,NONE
- Next message: [dovecot-cvs] dovecot/src/lib-charset charset-iconv.c,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/master
In directory danu:/tmp/cvs-serv8521
Modified Files:
main.c
Log Message:
Call setsid() when daemonizing.
Index: main.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/main.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- main.c 4 Nov 2002 06:00:42 -0000 1.10
+++ main.c 14 Nov 2002 12:53:03 -0000 1.11
@@ -214,6 +214,8 @@
if (pid != 0)
_exit(0);
+
+ setsid();
}
static void print_help(void)
- Previous message: [dovecot-cvs] dovecot/src/lib-charset charset-utf8.c,NONE,1.1 Makefile.am,1.1,1.2 charset-iconv.c,1.3,1.4 charset-ascii.c,1.4,NONE
- Next message: [dovecot-cvs] dovecot/src/lib-charset charset-iconv.c,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list