varnish/varnish-6.3.2_fix_s390x.patch
2020-02-11 00:04:59 +01:00

12 lines
455 B
Diff

--- bin/varnishtest/vtc_varnish.c.orig 2020-02-10 23:29:22.765650634 +0100
+++ bin/varnishtest/vtc_varnish.c 2020-02-10 23:30:04.179140158 +0100
@@ -117,7 +117,7 @@
cmd, errno, strerror(errno));
}
i = VCLI_ReadResult(v->cli_fd, &retval, &r, vtc_maxdur);
- if (i != 0 && !vtc_stop)
+ if (i != 0 && !vtc_stop && cmd != NULL)
vtc_fatal(v->vl, "CLI failed (%s) = %d %u %s",
cmd, i, retval, r);
vtc_log(v->vl, 3, "CLI RX %u", retval);