Commit a636c010 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Tollef Fog Heen

Detect client crashing during startup

parent 6590e656
......@@ -159,6 +159,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