From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: Re: [PATCH] general-functions.pl: Only skip lines with a # at the beginning Date: Mon, 18 Feb 2019 11:38:02 +0100 Message-ID: In-Reply-To: <20190218102813.29248-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6233025723044641561==" List-Id: --===============6233025723044641561== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hello Michael, thanks for the patch and figuring out why the graphs are not displayed anymore - merged! Best regards, -Stefan > 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-functions.pl > index 2d3eb73d7..04e36969c 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) --===============6233025723044641561== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KCmlRSXpCQUFCQ2dBZEZpRUVXTzBOWHRTcnZo YXN5dERuVHRkT0ZZK1RzdDRGQWx4cWl3b0FDZ2tRVHRkT0ZZK1QKc3Q3UU1RLy9jSlRHZnlNVEts a2dqYnd2TzRqczNGeFNQUkFld2ZERHVzbVBGbUFISUU4WXJGU0syR0lZWHE4aApHcEhNMkJPSWRs TzJvNGtqSmxxZkx2aWpid2k3RHhHSWpSQjZsMVF0dXZVOXJiUnY1N2RueDhZdThQRnRiaWN2Ckx1 NGhkRFhRQVdZeUVFRWFwaks4aDlPempSZHJRY2R5a1U2YUVhVk8xZFFIRUdsT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