Permalink
Browse files

Don't close STDOUT

  • Loading branch information...
1 parent 83c50af commit bdcc7ba1a4840e90dee6d73dfad2b2953964223d @ctfliblime ctfliblime committed Feb 18, 2012
Showing with 0 additions and 12 deletions.
  1. +0 −5 cgi/offline_circ/process_koc.pl
  2. +0 −3 cgi/tools/batchMod.pl
  3. +0 −4 cgi/tools/stage-marc-import.pl
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";

0 comments on commit bdcc7ba

Please sign in to comment.