Skip to content

Commit

Permalink
Fix ethd config
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne committed Nov 19, 2024
1 parent 547118b commit 292722e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethd
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ __handle_docker() {
echo "Will use sudo to access Docker"
__docker_sudo="sudo"
fi
if [[ ( "$__distro" =~ "debian" || "$__distro" = "ubuntu" ) ]] && ! grep -qi microsoft /proc/version; then
if [[ -f "${__env_file}" && ( "$__distro" =~ "debian" || "$__distro" = "ubuntu" ) ]] && ! grep -qi microsoft /proc/version; then
# This gets used, but shellcheck doesn't recognize that
# shellcheck disable=SC2034
DOCKER_ROOT=$(__dodocker system info --format '{{.DockerRootDir}}')
Expand Down

0 comments on commit 292722e

Please sign in to comment.