summaryrefslogtreecommitdiff
path: root/tcwg-cleanup-stale-containers.sh
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2016-11-14 06:48:38 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2016-11-14 06:48:38 +0000
commitdd6f7be35945b3bdd4b787d42a934f1f96801cff (patch)
tree190122b23f3e19d55f094fba4f8bac596b2a2f03 /tcwg-cleanup-stale-containers.sh
parent21def206fc2ed771850b4d573c42074755dc3608 (diff)
tcwg-cleanup-stale-containers: Fix more typos
Change-Id: I9ed79a09f2a91d7ca66ae8055aab29b6a4bc702d
Diffstat (limited to 'tcwg-cleanup-stale-containers.sh')
-rwxr-xr-xtcwg-cleanup-stale-containers.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcwg-cleanup-stale-containers.sh b/tcwg-cleanup-stale-containers.sh
index 5e8bb62b..a9503e9d 100755
--- a/tcwg-cleanup-stale-containers.sh
+++ b/tcwg-cleanup-stale-containers.sh
@@ -75,12 +75,12 @@ if [ x"$(docker volume ls -q -f dangling=true)" != x"" ]; then
fi
fi
-if [ x"$(docker images | grep "^<none>" | awk "{print $3}")" != x"" ]; then
+if [ x"$(docker images | grep "^<none>" | awk '{print $3}')" != x"" ]; then
echo "Removing untagged images"
echo "Increasing exit code by 4 to indicate untagged images"
status="$(($status+4))"
if ! $dry_run; then
- docker docker images | grep "^<none>" | awk "{print $3}" | xargs -i@ docker rmi @ | cat
+ docker docker images | grep "^<none>" | awk '{print $3}' | xargs -i@ docker rmi @ | cat
echo "xargs docker rmi exit status: ${PIPESTATUS[3]}"
else
echo "DRY_RUN: NOT REMOVING UNTAGGED IMAGES"