mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
small fix, replaced \s with [[:space:]] to be consistent
This commit is contained in:
parent
6bf5746de2
commit
316b13a070
4
inxi
4
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)
|
||||
|
|
Loading…
Reference in a new issue