Add check of read configuration file

This commit is contained in:
yinle 2014-06-24 10:57:47 -07:00
parent 157aa15fd3
commit 0308e295ee

View File

@ -1190,6 +1190,7 @@ sub read_conf{
my $keys;
if (!open($keys, "<$configfile")) {
send_msg(0, "Open configuration file error");
return undef;
}
my $line;
while ($line = <$keys>) {