[master] 8e2c82c00 assert that -I file processing has finished and closed the fd
Nils Goroll
nils.goroll at uplex.de
Thu Nov 22 12:29:14 UTC 2018
commit 8e2c82c006ebec1c3c438695e190daacc229919c
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Thu Nov 22 10:28:43 2018 +0100
assert that -I file processing has finished and closed the fd
diff --git a/bin/varnishd/mgt/mgt_main.c b/bin/varnishd/mgt/mgt_main.c
index d3fe23fa1..ceebbf92c 100644
--- a/bin/varnishd/mgt/mgt_main.c
+++ b/bin/varnishd/mgt/mgt_main.c
@@ -871,6 +871,7 @@ main(int argc, char * const *argv)
"VEV_Once() = %d", o);
}
}
+ assert(I_fd == -1);
if (!d_flag && !mgt_has_vcl() && !novcl)
MGT_Complain(C_ERR, "No VCL loaded yet");
More information about the varnish-commit
mailing list