https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10407

Josef Moravec <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #53219|0                           |1
        is obsolete|                            |

--- Comment #32 from Josef Moravec <[email protected]> ---
Created attachment 53766
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53766&action=edit
Bug 10407: Resolve warnings from child process

After the staging job finishes, the child tries to print results to
STDOUT (which is closed). This creates warnings like:

stage-marc-import.pl: binmode() on closed filehandle STDOUT at C4/Templates.pm
line 120.
stage-marc-import.pl: Filehandle STDOUT reopened as FH only for input at
/usr/lib/perl5/Template/Provider.pm line 964.

Resolving it is simple: the child should exit after marking the job
as finished.

Test plan:
Import a marc file.
Observe that you do no longer have such warnings.

Signed-off-by: Marcel de Rooy <[email protected]>

Signed-off-by: Josef Moravec <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to