[master] 41c3176 Don't clobber output on HUP

Andreas Plesner Jacobsen apj at mutt.dk
Fri Dec 13 13:56:30 CET 2013


commit 41c317674a217898f07df02c7441ccb5abf6ed23
Author: Andreas Plesner Jacobsen <apj at mutt.dk>
Date:   Fri Dec 13 13:56:15 2013 +0100

    Don't clobber output on HUP

diff --git a/bin/varnishncsa/varnishncsa.c b/bin/varnishncsa/varnishncsa.c
index c1c1e36..c2656de 100644
--- a/bin/varnishncsa/varnishncsa.c
+++ b/bin/varnishncsa/varnishncsa.c
@@ -182,7 +182,7 @@ rotateout(void)
 	AN(CTX.w_arg);
 	AN(CTX.fo);
 	fclose(CTX.fo);
-	openout(0);
+	openout(1);
 	AN(CTX.fo);
 	return (0);
 }



More information about the varnish-commit mailing list