Commit 6d7d3992 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

The -C mode failed to clean up its random workdirectory because of _.pid

parent 01835f40
......@@ -243,6 +243,7 @@ mgt_Cflag_atexit(void)
if (getpid() != mgt_pid)
return;
(void)rmdir("vmod_cache");
(void)unlink("_.pid");
(void)rmdir(Cn_arg);
}
......
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