From: Serge Hallyn Date: Tue, 31 Jul 2012 14:04:33 +0000 (+0200) Subject: lxc-clone.in: put $line in quotes to avoid its expansion X-Git-Tag: lxc-2.1.1~2575 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=989e861d5c5b4a905efb4eb3f58a3eae9d21f83f;p=mirror_lxc.git lxc-clone.in: put $line in quotes to avoid its expansion Signed-off-by: Serge Hallyn Signed-off-by: Daniel Lezcano --- diff --git a/src/lxc/lxc-clone.in b/src/lxc/lxc-clone.in index deb01f7d9..f20411c82 100644 --- a/src/lxc/lxc-clone.in +++ b/src/lxc/lxc-clone.in @@ -271,7 +271,7 @@ while read line; do if [ "${line:0:18}" = "lxc.network.hwaddr" ]; then echo "lxc.network.hwaddr= 00:16:3e:$(openssl rand -hex 3| sed 's/\(..\)/\1:/g; s/.$//')" else - echo $line + echo "$line" fi done ) < ${c}.old > ${c}