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 <michael.tremer@ipfire.org>
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Michael Tremer
2019-02-18 10:28:13 +00:00
committed by Stefan Schantl
parent 7c3b7cdcca
commit 06f57f7230

View File

@@ -151,7 +151,7 @@ sub readhash
chop;
# Skip comments.
next if ($_ =~ /\#/);
next if ($_ =~ /^#/);
($var, $val) = split /=/, $_, 2;
if ($var)