fix handling of --dns-search

This got broken in b4c00050e0.
This commit is contained in:
Matthias Radestock committed 2015-04-20 12:58:04 +01:00
1 parent 1e3d429d58
commit 16f3a96a67
1 file changed
+3 -3
+3 -3
View File
@@ -104,7 +104,7 @@ if [ "$1" = "run" ]; then
check_docker_version
if [ "$1" = "--with-dns" ]; then
shift 1
DNS_ARGS=$(exec_remote dns-args)
DNS_ARGS=$(exec_remote dns-args "$@")
fi
collect_cidr_args "$@"
shift $CIDR_COUNT
@@ -758,7 +758,7 @@ case "$COMMAND" in
[ $# -gt 0 ] || usage
if [ "$1" = "--with-dns" ] ; then
shift 1
dns_args
dns_args "$@"
fi
collect_cidr_args "$@"
shift $CIDR_COUNT
@@ -769,7 +769,7 @@ case "$COMMAND" in
echo $CONTAINER
;;
dns-args)
dns_args
dns_args "$@"
echo -n $DNS_ARGS
;;
start)