Merge pull request #1750 from weaveworks/add-some-quotes

quote $@
This commit is contained in:
Adam Harrison committed 2015-12-04 10:08:34 +00:00
commit d14d9933b4
1 file changed
+1 -1
+1 -1
View File
@@ -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 \