diff --git a/docker/podman-docker.sh b/docker/podman-docker.sh index 2ce2f7da3b..fc128f34c7 100644 --- a/docker/podman-docker.sh +++ b/docker/podman-docker.sh @@ -1,7 +1,7 @@ # DOCKER_HOST initialization if [ -z "${DOCKER_HOST-}" ]; then - if [ $(id -u) -eq 0 ]; then + if [ "$(id -u)" -eq 0 ]; then export DOCKER_HOST=unix:///run/podman/podman.sock else if [ -n "${XDG_RUNTIME_DIR-}" ]; then