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>
(cherry picked from commit 7be97133ee)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
parent
c430cf453f
commit
e607a03190
|
|
@ -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 $ENV{'SCRIPT_NAME'} as a background job";
|
||||
exit 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue