Commit e95772b8 authored by Vitaly Lipatov's avatar Vitaly Lipatov

check_display: do not run xset directly

parent 15aae005
......@@ -264,5 +264,7 @@ enable_ccache()
# If DISPLAY is broken
check_display()
{
xset -b
local XSET=$(which xset 2>/dev/null)
[ -n "$XSET" ] || return
$XSET -b
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment