Skip to content

Commit 464e19b

Browse files
committed
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>
1 parent 204af9f commit 464e19b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/completion/bash/docker-machine-wrapper.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ EOF
4747
esac
4848
else
4949
# Just call the actual docker-machine app
50-
$(which docker-machine) "$@"
50+
command docker-machine "$@"
5151
fi
5252
}
5353

0 commit comments

Comments
 (0)