mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +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
|
# 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
|
# this is the driver that is actually driving the display
|
||||||
/.*\([0-9]+\):\sDepth.*framebuffer/ {
|
/.*\([0-9]+\):[[:space:]]Depth.*framebuffer/ {
|
||||||
driver=gensub(/.*('"$driver_list"')\([0-9]+\):\sDepth.*framebuffer.*/, "\\1", 1, $0 )
|
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
|
# 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
|
# set driver to lower case because sometimes it will show as RADEON or NVIDIA in the actual x start
|
||||||
driver=tolower(driver)
|
driver=tolower(driver)
|
||||||
|
|
Loading…
Reference in a new issue