diff --git a/ci/e2ereport.sh b/ci/e2ereport.sh index b88260ff9..f27949969 100755 --- a/ci/e2ereport.sh +++ b/ci/e2ereport.sh @@ -11,7 +11,7 @@ if [ -z "${NO_OPEN:-}" ]; then if [ -s "$REPORT_OUTPUT" ]; then if command -v open >/dev/null; then open $REPORT_OUTPUT - elif [ -x "$(command -v xdg-open >/dev/null)" ]; then + elif command -v xdg-open >/dev/null; then xdg-open $REPORT_OUTPUT else echo "Please open $REPORT_OUTPUT"