Commit 421a668d by Jim Wilson

(handler): Delete export_file when we get a signal.

From-SVN: r11881
parent 83cd7147
...@@ -433,6 +433,9 @@ handler (signo) ...@@ -433,6 +433,9 @@ handler (signo)
if (ldout != 0 && ldout[0]) if (ldout != 0 && ldout[0])
maybe_unlink (ldout); maybe_unlink (ldout);
if (export_file != 0 && export_file[0])
maybe_unlink (export_file);
signal (signo, SIG_DFL); signal (signo, SIG_DFL);
kill (getpid (), signo); kill (getpid (), signo);
} }
......
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