Remove debug code.

This commit is contained in:
Colin Kuskie 2009-09-09 13:14:08 -07:00
parent 65120a61cb
commit 632e1e1ba2

View file

@ -127,9 +127,7 @@ BEGIN {
push (@INC,$WEBGUI_LIB); push (@INC,$WEBGUI_LIB);
##Handle custom loaded library paths ##Handle custom loaded library paths
warn $WEBGUI_ROOT;
my $customPreload = File::Spec->catdir( $WEBGUI_ROOT, 'sbin', 'preload.custom'); my $customPreload = File::Spec->catdir( $WEBGUI_ROOT, 'sbin', 'preload.custom');
warn $customPreload;
if (-e $customPreload) { if (-e $customPreload) {
open my $PRELOAD, '<', $customPreload or open my $PRELOAD, '<', $customPreload or
croak "Unload to open $customPreload: $!\n"; croak "Unload to open $customPreload: $!\n";
@ -138,7 +136,6 @@ BEGIN {
$line =~ s/^\s+//; $line =~ s/^\s+//;
$line =~ s/\s+$//; $line =~ s/\s+$//;
next LINE if !$line; next LINE if !$line;
warn $line;
push @INC, $line; push @INC, $line;
} }
close $PRELOAD; close $PRELOAD;