Update deploy.sh

This commit is contained in:
AnJia 2018-10-12 12:50:15 +08:00 committed by GitHub
parent dbf4bf4836
commit fcf6d301d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -240,8 +240,6 @@ do
break
else
docker images
df -h ${docker_dir}
used=$(df -h ${docker_dir}|awk '{if(NR>1)print $5}')
echo -e "${red} duration:${duration}s, docker root dir :${docker_dir}:used:${used}"
[[ ${used} > '60%' ]] && docker system prune -f -a