Commit 62d96228 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Don't attempt to check if varnishd is still running if we have

already failed.

Fixes #2301
parent 6ece6958
......@@ -663,8 +663,10 @@ varnish_wait(struct varnish *v)
vtc_log(v->vl, 2, "Wait");
/* Do a backend.list to log if child is still running */
varnish_ask_cli(v, "backend.list", &resp);
if (!vtc_error) {
/* Do a backend.list to log if child is still running */
varnish_ask_cli(v, "backend.list", &resp);
}
/* Then stop it */
varnish_stop(v);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment