diff options
-rwxr-xr-x | scripts/detect-resolution | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/detect-resolution b/scripts/detect-resolution index 6a777c1..0f96b9d 100755 --- a/scripts/detect-resolution +++ b/scripts/detect-resolution @@ -61,7 +61,7 @@ sub parse_grub_conf { $cnt++; } if (m/kernel\s+\(.*\)[^\s]+/) { - $vga = $1 if /vga=(.*)/; + $vga = $1 if /vga=(\w*)/; $entry{$title}{vga} = $vga if ($title and $vga); } if (m,initrd\s+\(.*\)(?:.*/)?([^\s]+),){ |