remove quoting around cleanup and disable lint for those lines. also make cleanup test more robust

This commit is contained in:
Michael Hobbs committed 2015-02-24 10:41:02 -08:00
1 parent 70e1e5d14d
commit f366a37cd1
2 files changed
+9 -6

No files matched your search

+4 -2
View File
@@ -122,9 +122,11 @@ case "$1" in
cleanup)
# delete all non-running container
docker rm "$(docker ps -a -f 'status=exited' -q)" &> /dev/null &
# shellcheck disable=SC2046
docker rm $(docker ps -a -f 'status=exited' -q) &> /dev/null &
# delete unused images
docker rmi "$(docker images -f 'dangling=true' -q)" &> /dev/null &
# shellcheck disable=SC2046
docker rmi $(docker images -f 'dangling=true' -q) &> /dev/null &
;;
plugins)