Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't close STDOUT

  • Loading branch information...
commit bdcc7ba1a4840e90dee6d73dfad2b2953964223d 1 parent 83c50af
@ctfliblime ctfliblime authored
View
5 cgi/offline_circ/process_koc.pl
@@ -96,13 +96,8 @@
exit 0;
} elsif (defined $pid) {
# child
- # close STDOUT to signal to Apache that
- # we're now running in the background
- close STDOUT;
- close STDERR;
} else {
# fork failed, so exit immediately
- # fork failed, so exit immediately
warn "fork failed while attempting to run $ENV{'SCRIPT_NAME'} as a background job";
exit 0;
}
View
3  cgi/tools/batchMod.pl
@@ -555,9 +555,6 @@ sub put_in_background {
exit 0;
} elsif (defined $pid) {
# child
- # close STDOUT to signal to Apache that
- # we're now running in the background
- close STDOUT;
} else {
# fork failed, so exit immediately
warn "fork failed while attempting to run $ENV{'SCRIPT_NAME'} as a background job";
View
4 cgi/tools/stage-marc-import.pl
@@ -168,10 +168,6 @@
exit 0;
} elsif (defined $pid) {
# child
- # close STDOUT to signal to Apache that
- # we're now running in the background
- close STDOUT;
- close STDERR;
} else {
# fork failed, so exit immediately
warn "fork failed while attempting to run $ENV{'SCRIPT_NAME'} as a background job";
Please sign in to comment.
Something went wrong with that request. Please try again.