mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-20 16:02:59 +02:00
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:
committed by
Stefan Schantl
parent
7c3b7cdcca
commit
06f57f7230
@@ -151,7 +151,7 @@ sub readhash
|
||||
chop;
|
||||
|
||||
# Skip comments.
|
||||
next if ($_ =~ /\#/);
|
||||
next if ($_ =~ /^#/);
|
||||
|
||||
($var, $val) = split /=/, $_, 2;
|
||||
if ($var)
|
||||
|
||||
Reference in New Issue
Block a user