Add check of read configuration file
This commit is contained in:
parent
157aa15fd3
commit
0308e295ee
@ -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>) {
|
||||
|
Loading…
Reference in New Issue
Block a user