[master] 302a21b Don't clobber output on HUP
Andreas Plesner
apj at mutt.dk
Fri Dec 13 14:09:00 CET 2013
commit 302a21bb3eb8e122a88790ee1e9948bb777e389c
Author: Andreas Plesner <apj at mutt.dk>
Date: Fri Dec 13 14:08:15 2013 +0100
Don't clobber output on HUP
diff --git a/bin/varnishlog/varnishlog.c b/bin/varnishlog/varnishlog.c
index d0589d6..3f6bf9f 100644
--- a/bin/varnishlog/varnishlog.c
+++ b/bin/varnishlog/varnishlog.c
@@ -94,7 +94,7 @@ rotateout(void)
AN(LOG.w_arg);
AN(LOG.fo);
fclose(LOG.fo);
- openout(0);
+ openout(1);
AN(LOG.fo);
return (0);
}
More information about the varnish-commit
mailing list