docker: fix flag parsing in docker wrapper script

The dockerd script incorrectly parsed --graph=/some/path, breaking the
early-docker service.
This commit is contained in:
Michael Marineau 2015-01-05 15:21:54 -08:00
parent dbd2e2ea82
commit a044ce15c0
2 changed files with 1 additions and 1 deletions

View File

@ -11,8 +11,8 @@ parse_docker_args() {
# treat --flag=foo and --flag foo identically
if [[ "${flag}" == *=* ]]; then
flag="${flag%=*}"
set -- "${flag#*=}" "$@"
flag="${flag%=*}"
fi
case "${flag}" in