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:
parent
defcfd050e
commit
7be97133ee
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue