don't background cleanup

This commit is contained in:
Michael Hobbs
2015-07-05 21:08:47 -07:00
parent cbbe7ca557
commit 0b9ac9a727

2
dokku
View File

@@ -174,7 +174,7 @@ case "$1" in
cleanup)
# delete all non-running container
# shellcheck disable=SC2046
docker rm $(docker ps -a -f 'status=exited' -q) &> /dev/null &
docker rm $(docker ps -a -f 'status=exited' -q) &> /dev/null || true
# delete unused images
# shellcheck disable=SC2046
docker rmi $(docker images -f 'dangling=true' -q) &> /dev/null &