From 16f3a96a67abff12e3ed18edb28eb3c0bd71ba08 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Mon, 20 Apr 2015 12:58:04 +0100 Subject: [PATCH] fix handling of --dns-search This got broken in b4c00050e01544fee06b16f2394cbced511fd13b. --- weave | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/weave b/weave index 8b992b79..ba1db8dd 100755 --- a/weave +++ b/weave @@ -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)