2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-22 03:00:26 +00:00

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>) {