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

exit after error


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@560 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent a432c64f
......@@ -233,8 +233,10 @@ main(int argc, char **argv)
if (w_opt != NULL) {
wfile = fopen(w_opt, "w");
if (wfile == NULL)
if (wfile == NULL) {
perror(w_opt);
exit (1);
}
}
u = 0;
v = 0;
......
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