diff --git a/ChangeLog b/ChangeLog index c4772496..26e0bb4a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,8 @@ avoids leaving behind temporary batch files in the temporary directory, which happens frequently on a fast machine when using parallel builds. + (reap_children): Add debug message for when removal of a temporary + batch file fails. 2012-10-29 Paul Smith diff --git a/job.c b/job.c index b11d1b4f..8e4c3a55 100644 --- a/job.c +++ b/job.c @@ -816,7 +816,6 @@ reap_children (int block, int err) DB (DB_JOBS, (_("Cleaning up temp batch file %s\n"), c->sh_batch_file)); - /* just try and remove, don't care if this fails */ errno = 0; rm_status = remove (c->sh_batch_file); if (rm_status)