Skip to content

Commit

Permalink
Merge pull request #729 from gbudge/patch-1
Browse files Browse the repository at this point in the history
Fix Docker version check condition.
  • Loading branch information
Slyke authored Oct 3, 2023
2 parents 790e837 + c1ac6e5 commit e3496cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ function do_docker_checks() {
if command_exists docker; then
DOCKER_VERSION_GOOD="false"
DOCKER_VERSION=$(docker version -f "{{.Server.Version}}")
if [ ! -z "$DOCKER_VERSION" ]; then
if [ -z "$DOCKER_VERSION" ]; then
echo "Error getting docker version. Error when running docker command. Check that docker is installed correctly."
fi
DOCKER_VERSION_MAJOR=$(echo "$DOCKER_VERSION"| cut -d'.' -f 1)
Expand Down

0 comments on commit e3496cd

Please sign in to comment.