summaryrefslogtreecommitdiff
path: root/tcwg-cleanup-stale-containers.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tcwg-cleanup-stale-containers.sh')
-rwxr-xr-xtcwg-cleanup-stale-containers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcwg-cleanup-stale-containers.sh b/tcwg-cleanup-stale-containers.sh
index 9ff23d42..5e8bb62b 100755
--- a/tcwg-cleanup-stale-containers.sh
+++ b/tcwg-cleanup-stale-containers.sh
@@ -75,7 +75,7 @@ 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))"