prevent barfage when presetting the rc file

This commit is contained in:
Sitaram Chamarty 2012-09-20 06:21:44 +05:30
parent e59c3ba9f9
commit 724c741335

View file

@ -61,7 +61,7 @@ $UNSAFE_PATT = qr([`~#\$\&()|;<>]);
my $current_data_version = "3.0"; my $current_data_version = "3.0";
my $rc = glrc('filename'); my $rc = glrc('filename');
if (-r $rc) { if (-r $rc and -s $rc) {
do $rc or die $@; do $rc or die $@;
} }
if ( defined($GL_ADMINDIR) ) { if ( defined($GL_ADMINDIR) ) {