mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 18:32:49 -04:00
Cope with quotation marks around font names in /etc/rc.conf .
PR: 17330 Reported by: Anatoly Vorobey <mellon@pobox.com>
This commit is contained in:
parent
060ac658cc
commit
b3d642a00a
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ sub font_current {
|
|||
|
||||
while(<F>) {
|
||||
/^#/ && next;
|
||||
if (/^\s*font[0-9]+x[0-9]+\s*=\s*(\S+)/) {
|
||||
if (/^\s*font[0-9]+x[0-9]+\s*=\s*\"?([^\s\"]+)\"?/) {
|
||||
$font_current = $1 if $1 ne "NO";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue