Newlines were appearing on end of all settings!

This commit is contained in:
Bradley M. Kuhn 2013-11-29 16:16:56 -05:00
parent 1f172c36f7
commit 8f9ce9b676

View file

@ -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;