Newlines were appearing on end of all settings!
This commit is contained in:
parent
1f172c36f7
commit
8f9ce9b676
1 changed files with 1 additions and 0 deletions
|
@ -507,6 +507,7 @@ sub ReadConfig($) {
|
|||
my %config;
|
||||
|
||||
while (my $line = <CONFIG_FILE>) {
|
||||
chomp $line;
|
||||
DieLog("Unable to parse $line in config file, $configFile")
|
||||
unless $line =~ /^\s*([^:]+)\s*:\s*([^:]+)\s*$/;
|
||||
$config{$1} = $2;
|
||||
|
|
Loading…
Add table
Reference in a new issue