From 0602c91c54385e91ee545aac9f221a8067c31927 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Wed, 2 Dec 2015 15:28:41 +0000 Subject: [PATCH] quote $@ --- weave | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weave b/weave index de4e98e8..385d1dc2 100755 --- a/weave +++ b/weave @@ -1037,7 +1037,7 @@ rewrite_etc_hosts() { CONTAINERS_PATH=$(dirname $HOSTS) MNT=/container MNT_HOSTS=$MNT/$(basename $HOSTS) - CONTENTS="$(etc_hosts_contents $FQDN $@)" + CONTENTS="$(etc_hosts_contents $FQDN "$@")" # rewrite /etc/hosts, unlinking the file (so Docker does not modify it again) but # leaving it with valid contents... docker run --rm --net=none --privileged \