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
1 changed files with 1 additions and 1 deletions

View File

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