openbsd-ports/security/stunnel/patches/patch-src_stunnel_c
2006-03-23 15:49:53 +00:00

13 lines
411 B
Plaintext

--- src/stunnel.c.orig Fri Mar 10 22:22:06 2006
+++ src/stunnel.c Thu Mar 23 16:29:20 2006
@@ -153,8 +153,8 @@ static void daemon_loop(void) {
#if !defined (USE_WIN32) && !defined (__vms)
if(!(options.option.foreground))
daemonize();
- drop_privileges();
create_pid();
+ drop_privileges();
#endif /* !defined USE_WIN32 && !defined (__vms) */
/* create exec+connect services */