Skip to content

Commit

Permalink
removed uneccesary check
Browse files Browse the repository at this point in the history
  • Loading branch information
netbrain committed Oct 9, 2024
1 parent a8aae35 commit d1c4f86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zwift.sh
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,6 @@ if [ $? -ne 0 ]; then
fi

# Allow container to connect to X, has to be set for different UID
if [ -x "$(command -v xhost)" ] && [ $ZWIFT_UID -ne $(id -u) ] && [ -z $WINE_EXPERIMENTAL_WAYLAND ]; then
if [ -x "$(command -v xhost)" ] && [ -z $WINE_EXPERIMENTAL_WAYLAND ]; then
xhost +local:$($CONTAINER_TOOL inspect --format='{{ .Config.Hostname }}' $CONTAINER)
fi

0 comments on commit d1c4f86

Please sign in to comment.