clean up log transfer

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2016-03-18 11:20:28 +00:00
parent f0ff62fbe2
commit 43de87bed7

View File

@ -25,8 +25,9 @@ start()
mount --bind "${DRIVERDIR}/log" /var/log
for f in /var/tmp/log/*
do
cat $f >> /var/log/$(basename $f)
[ -f $f ] && cat $f >> /var/log/$(basename $f)
done
rm -rf /var/tmp/log
fi
export DOCKER_RAMDISK="true"