From: Michael Tremer Date: Mon, 18 Feb 2019 10:28:13 +0000 (+0000) Subject: general-functions.pl: Only skip lines with a # at the beginning X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=06f57f72309f268d4f6b3490b33912813fbf1f1e;p=people%2Fstevee%2Fipfire-2.x.git general-functions.pl: Only skip lines with a # at the beginning This accidientially dropped all lines that include #. That resulted in colour codes not being loaded from file any more. Signed-off-by: Michael Tremer Signed-off-by: Stefan Schantl --- diff --git a/config/cfgroot/general-functions.pl b/config/cfgroot/general-functions.pl index 2d3eb73d7f..04e36969c4 100644 --- a/config/cfgroot/general-functions.pl +++ b/config/cfgroot/general-functions.pl @@ -151,7 +151,7 @@ sub readhash chop; # Skip comments. - next if ($_ =~ /\#/); + next if ($_ =~ /^#/); ($var, $val) = split /=/, $_, 2; if ($var)