[master] eb649cb Bail out on this error.
Poul-Henning Kamp
phk at FreeBSD.org
Mon Sep 12 08:18:09 CEST 2016
commit eb649cb32d5f30c8eed9d9c91eac927c224ea8d8
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Sep 12 06:16:57 2016 +0000
Bail out on this error.
diff --git a/bin/varnishd/mgt/mgt_child.c b/bin/varnishd/mgt/mgt_child.c
index 077363d..58588db 100644
--- a/bin/varnishd/mgt/mgt_child.c
+++ b/bin/varnishd/mgt/mgt_child.c
@@ -765,8 +765,10 @@ MGT_Run(void)
}
i = mgt_SHM_Commit();
- if (i != 0)
+ if (i != 0) {
MGT_complain(C_ERR, "Could not commit SHM file");
+ return;
+ }
i = vev_schedule(mgt_evb);
if (i != 0)
More information about the varnish-commit
mailing list