Skip to content

Commit

Permalink
--xc: fix check in auto mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mviereck committed Jun 7, 2022
1 parent d834cba commit 92048fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x11docker
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# Run 'x11docker --help' or scroll down to read usage information.
# More documentation at: https://github.com/mviereck/x11docker

Version="7.1.5-beta-15"
Version="7.1.5-beta-16"

# --enforce-i: Enforce running in interactive mode to allow commands tty and weston-launch in special setups.
grep -q -- "--enforce-i" <<< "$*" && case $- in
Expand Down Expand Up @@ -2706,6 +2706,7 @@ check_xcontainer() { # option --xc: check image x11docker/xserver
}
;;
auto)
Xcontainer="yes"
case "$Runtime" in
kata-runtime) Xcontainer="no" ;;
esac
Expand Down Expand Up @@ -2800,7 +2801,6 @@ check_xdepends() { # check dependencies on host for X server option
}
;;
esac
### FIXME Xcontainer=auto
[ "$Xcontainer" = "no" ] && case "${1:-}" in
--xpra)
command -v "xpra" >/dev/null || {
Expand Down

0 comments on commit 92048fd

Please sign in to comment.