mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-22 19:20:24 +00:00
Add check of read configuration file
This commit is contained in:
@@ -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>) {
|
||||
|
Reference in New Issue
Block a user