Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

minor cleanups

  • Loading branch information...
commit 6c5c87d1929ff497ccb89a7b8c5e99688f39676f 1 parent 0f84bd0
@lstein lstein authored Lincoln Stein committed
Showing with 2 additions and 4 deletions.
  1. +1 −4 cgi-bin/gbrowse
  2. +1 −0  lib/Bio/Graphics/Browser2/Render.pm
View
5 cgi-bin/gbrowse
@@ -3,9 +3,6 @@
eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
if 0; # not running under some shell
-eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
- if 0; # not running under some shell
-
use strict;
use CGI;
use Bio::Graphics::Browser2;
@@ -21,7 +18,7 @@ if ($modperl && !$init++) {
$SIG{USR1} = $SIG{PIPE} = $SIG{TERM} = sub {
my $sig = shift;
my $time = localtime;
- print STDERR "[$time] [notice] GBrowse FastCGI process caught sig$sig. Exiting... (pid $$)\n";
+ print STDERR "[$time] [notice] GBrowse modPerl process caught sig$sig. Exiting... (pid $$)\n";
CORE::exit 0
};
}
View
1  lib/Bio/Graphics/Browser2/Render.pm
@@ -3995,6 +3995,7 @@ sub fork {
sub prepare_modperl_for_fork {
my $self = shift;
my $r = modperl_request() or return;
+ $SIG{CHLD} = 'IGNORE';
if ($ENV{MOD_PERL_API_VERSION} < 2) {
eval {
require Apache::SubProcess;
Please sign in to comment.
Something went wrong with that request. Please try again.