Permalink
Browse files

Set VSL_COPT_TAILSTOP when -d is in effect

  • Loading branch information...
mbgrydeland committed Oct 10, 2013
1 parent 7aec15c commit 047c517f210348d631eec949df9231c27ce7b759
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/libvarnishtools/vut.c
@@ -213,7 +213,8 @@ VUT_Setup(void)
VUT_Error(1, "Can't open VSM file (%s)",
VSM_Error(VUT.vsm));
c = VSL_CursorVSM(VUT.vsl, VUT.vsm,
(VUT.d_opt ? 0 : VSL_COPT_TAIL) | VSL_COPT_BATCH);
(VUT.d_opt ? VSL_COPT_TAILSTOP : VSL_COPT_TAIL)
| VSL_COPT_BATCH);
}
if (c == NULL)
VUT_Error(1, "Can't open log (%s)", VSL_Error(VUT.vsl));

0 comments on commit 047c517

Please sign in to comment.