From 316b13a070c362b8c5ecc077827a398f30804296 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Mon, 12 Aug 2013 23:30:26 +0000 Subject: [PATCH] small fix, replaced \s with [[:space:]] to be consistent --- inxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index d69ded1..15db478 100755 --- a/inxi +++ b/inxi @@ -4738,8 +4738,8 @@ get_graphics_driver() } # verify that the driver actually started the desktop, even with false failed messages which can occur # this is the driver that is actually driving the display - /.*\([0-9]+\):\sDepth.*framebuffer/ { - driver=gensub(/.*('"$driver_list"')\([0-9]+\):\sDepth.*framebuffer.*/, "\\1", 1, $0 ) + /.*\([0-9]+\):[[:space:]]Depth.*framebuffer/ { + driver=gensub(/.*('"$driver_list"')\([0-9]+\):[[:space:]]Depth.*framebuffer.*/, "\\1", 1, $0 ) # we need to make sure that the driver has already been truly loaded, not just discussed, also # set driver to lower case because sometimes it will show as RADEON or NVIDIA in the actual x start driver=tolower(driver)