Commit 19c2b60e authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Tell if we could not write the PID file.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2485 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent fd9235ea
......@@ -553,8 +553,8 @@ main(int argc, char *argv[])
if (d_flag == 1)
printf("%d\n", getpid());
if (pfh != NULL)
vpf_write(pfh); /* XXX: Warn or Err if fail ? */
if (pfh != NULL && vpf_write(pfh)
fprintf(stderr, "NOTE: Could not write PID file\n");
mgt_cli_init();
......
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