From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH] general-functions.pl: Only skip lines with a # at the beginning Date: Mon, 18 Feb 2019 10:28:13 +0000 Message-ID: <20190218102813.29248-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7544461729180956567==" List-Id: --===============7544461729180956567== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This accidientially dropped all lines that include #. That resulted in colour codes not being loaded from file any more. Signed-off-by: Michael Tremer --- config/cfgroot/general-functions.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cfgroot/general-functions.pl b/config/cfgroot/general-fun= ctions.pl index 2d3eb73d7..04e36969c 100644 --- a/config/cfgroot/general-functions.pl +++ b/config/cfgroot/general-functions.pl @@ -151,7 +151,7 @@ sub readhash chop; =20 # Skip comments. - next if ($_ =3D~ /\#/); + next if ($_ =3D~ /^#/); =20 ($var, $val) =3D split /=3D/, $_, 2; if ($var) --=20 2.12.2 --===============7544461729180956567==--