diff --git a/tools/vscode.sh b/tools/vscode.sh index e6cc1962..ce6ebd10 100755 --- a/tools/vscode.sh +++ b/tools/vscode.sh @@ -24,7 +24,7 @@ cleanup() { if [[ -f "/usr/bin/apt-get" ]]; then trap "cleanup" SIGINT SIGTERM ERR EXIT - xvfb-run --auto-servernum task devel -- ../ansible-language-server + echo "xvfb version" && command -v xvfb && xvfb-run --auto-servernum task devel -- ../ansible-language-server else task devel -- ../ansible-language-server fi