lib/ventriloquist/cap/debian/ventriloquist_containers_upstart.rb in ventriloquist-0.3.1 vs lib/ventriloquist/cap/debian/ventriloquist_containers_upstart.rb in ventriloquist-0.3.2
- old
+ new
@@ -18,13 +18,13 @@
script
if [ -d /var/lib/ventriloquist/cids ]; then
sleep 1 # Give Docker some time
for cidfile in \$(ls /var/lib/ventriloquist/cids/*); do
cid=\$(cat \$cidfile)
- if ! $(docker ps | grep -q $cid); then
+ if ! \$(docker ps | grep -q \$cid); then
docker start \$(cat \$cidfile)
else
- echo "Container ${cid} already started"
+ echo "Container \${cid} already started"
fi
done
fi
end script
EOF'