diff --git a/x11docker b/x11docker index 5c7b80f4..cd6faa97 100755 --- a/x11docker +++ b/x11docker @@ -6058,7 +6058,7 @@ check_host() { # check host environment Hostsystem="$(grep '^ID=' /etc/os-release 2>/dev/null | cut -d= -f2 || echo 'unknown')" # Check if docker is installed with Ubuntu snap - realpath $(command -v docker) | grep -q snap && Runsinsnap="yes" | Runsinsnap="no" + realpath $(command -v docker) | grep -q snap && Runsinsnap="yes" || Runsinsnap="no" # Check libc from host. If same as in container, it is possible to share timezone file Hostlibc="unknown"