clean temporary files

This commit is contained in:
rsc 2006-07-23 14:43:55 +00:00
parent 90c3dab6d4
commit 827018c4ec

View file

@ -460,6 +460,7 @@ runchecker(Part *p)
* Okay to return on error - will let mail through but wrapped.
*/
w = wait();
remove(name);
if(w == nil){
syslog(0, "mail", "vf wait failed: %r");
return 0;