Commit e914a750 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

CLI errors are not fatal if we are in shutdown

parent 9ab3376e
......@@ -116,7 +116,7 @@ varnish_ask_cli(const struct varnish *v, const char *cmd, char **repl)
cmd, errno, strerror(errno));
}
i = VCLI_ReadResult(v->cli_fd, &retval, &r, vtc_maxdur);
if (i != 0)
if (i != 0 && !vtc_stop)
vtc_fatal(v->vl, "CLI failed (%s) = %d %u %s",
cmd, i, retval, r);
AZ(i);
......
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