r608 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Wed Aug 2 20:12:42 CEST 2006
Author: phk
Date: 2006-08-02 20:12:42 +0200 (Wed, 02 Aug 2006)
New Revision: 608
Modified:
trunk/varnish-cache/bin/varnishd/varnishd.c
Log:
Tell daemon(3) to not chdir in debugging mode so we can find our core dumps.
Modified: trunk/varnish-cache/bin/varnishd/varnishd.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/varnishd.c 2006-08-02 17:45:02 UTC (rev 607)
+++ trunk/varnish-cache/bin/varnishd/varnishd.c 2006-08-02 18:12:42 UTC (rev 608)
@@ -682,7 +682,7 @@
if (dflag)
DebugStunt();
- daemon(0, dflag);
+ daemon(dflag, dflag);
if (dflag)
printf("%d\n%d\n%d\n", getpid(), getsid(0), getpgrp());
More information about the varnish-commit
mailing list