Commit 06b6c788 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Detect client crashing during startup

parent 35443881
......@@ -156,6 +156,12 @@ wait_running(const struct varnish *v)
if (st != CLIS_OK)
vtc_log(v->vl, 0,
"CLI status command failed: %u %s", st, r);
if (!strcmp(r, "Child in state stopped")) {
vtc_log(v->vl, 0,
"Child stopped before running: %u %s", st, r);
free(r);
break;
}
if (!strcmp(r, "Child in state running")) {
free(r);
break;
......
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