Bug 15189: Do not close STDERR when running in background mode

The batch records modification tool close STDERR, it's useless and hide
warnings/errors.

Like the other processes using the BackgroundJob module, this one should
let it open.

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2015-11-13 16:22:03 +00:00 committed by Tomas Cohen Arazi
parent defcfd050e
commit 7be97133ee
1 changed files with 0 additions and 1 deletions

View File

@ -167,7 +167,6 @@ if ( $op eq 'form' ) {
exit 0;
} elsif (defined $pid) {
close STDOUT;
close STDERR;
} else {
warn "fork failed while attempting to run tools/batch_record_modification.pl as a background job";
exit 0;