1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00

Delegate to docker-machine from wrapper

Fix an issue with the bash __docker-machine-wrapper function where
commands other than `use` would result in an error.

Signed-off-by: David Schlosnagle <schlosna@gmail.com>
This commit is contained in:
David Schlosnagle
2015-12-19 04:15:26 -05:00
parent 204af9fe5e
commit 464e19ba1c

View File

@@ -47,7 +47,7 @@ EOF
esac
else
# Just call the actual docker-machine app
$(which docker-machine) "$@"
command docker-machine "$@"
fi
}