]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Set process count to 1 instead of 0.
authorTimo Sirainen <tss@iki.fi>
Thu, 19 Jun 2003 02:00:25 +0000 (05:00 +0300)
committerTimo Sirainen <tss@iki.fi>
Thu, 19 Jun 2003 02:00:25 +0000 (05:00 +0300)
--HG--
branch : HEAD

src/login-common/main.c

index ae1bff3f7eac81a074290f12a5b39ceab9128221..4681179ffda4e645b376c7d8af60b9905fdd34ab 100644 (file)
@@ -131,7 +131,7 @@ static void open_logfile(const char *name)
 static void drop_privileges(const char *name)
 {
        /* make sure we can't fork() */
-       restrict_process_size((unsigned int)-1, 0);
+       restrict_process_size((unsigned int)-1, 1);
 
        /* Log file or syslog opening probably requires roots */
        open_logfile(name);