prevent barfage when presetting the rc file

redis
Sitaram Chamarty 2012-09-20 06:21:44 +05:30
parent e59c3ba9f9
commit 724c741335
1 changed files with 1 additions and 1 deletions

View File

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