Bugzilla – Attachment 113819 Details for
Bug 26854
stage-marc-import.pl does not properly fork
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26854: Remove log of STDERR
Bug-26854-Remove-log-of-STDERR.patch (text/plain), 1.08 KB, created by
Jonathan Druart
on 2020-11-19 14:50:30 UTC
(
hide
)
Description:
Bug 26854: Remove log of STDERR
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-11-19 14:50:30 UTC
Size:
1.08 KB
patch
obsolete
>From 3b563181fddbe7ef4c20a97073745831d43738b5 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 19 Nov 2020 11:13:34 +0100 >Subject: [PATCH] Bug 26854: Remove log of STDERR > >See discussion on comments 12-20 >--- > tools/stage-marc-import.pl | 5 ----- > 1 file changed, 5 deletions(-) > >diff --git a/tools/stage-marc-import.pl b/tools/stage-marc-import.pl >index a8d4c1189c..97767bfa1b 100755 >--- a/tools/stage-marc-import.pl >+++ b/tools/stage-marc-import.pl >@@ -128,11 +128,6 @@ if ($completedJobID) { > # Otherwise, the AJAX request to this script won't return properly > close STDOUT; > close STDERR; >- my $logdir = C4::Context->config('logdir'); >- if ($logdir && -d $logdir){ >- my $logfile = sprintf("%s/%s",$logdir,'background-jobs.log'); >- open(STDERR, '>>', $logfile); >- } > } else { > # fork failed, so exit immediately > warn "fork failed while attempting to run tools/stage-marc-import.pl as a background job: $!"; >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 26854
:
112655
|
113029
|
113656
| 113819