good catch, actually it never fails due to the pipe commands.
We should instead use:
set -o pipefail; xdpyinfo | grep "^X.Org version" | cut -d ':' -f 2 | tr -d ' '
good catch, actually it never fails due to the pipe commands.
We should instead use:
set -o pipefail; xdpyinfo | grep "^X.Org version" | cut -d ':' -f 2 | tr -d ' '