summaryrefslogtreecommitdiff
path: root/tcwg-cleanup-stale-containers.sh
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2018-05-07 18:42:55 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2018-05-07 18:42:55 +0000
commitc9d48c9914b512508581ab73a8a2ecc79bfb5031 (patch)
tree20387f0a50b8c8c35999b5d7202337b85b6650f4 /tcwg-cleanup-stale-containers.sh
parent6fb10cfe68c26a491b907edc378b5b979b935b59 (diff)
tcwg-cleanup-stale-containers.sh: Fix typo.
Change-Id: I0acd334a54ebf9160ec706bcc0024acebe76e627
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 418823e0..940b1aa0 100755
--- a/tcwg-cleanup-stale-containers.sh
+++ b/tcwg-cleanup-stale-containers.sh
@@ -77,7 +77,7 @@ do_cleanup_containers ()
# Do we want to remove all containers, or only those
# started by Jenkins jobs?
if ${only_jenkins_containers}; then
- container_name=$(DOCKER inspect --format "{{.Name}}")
+ container_name=$($DOCKER inspect --format "{{.Name}}")
# Containers started by our Jenkins jobs start with a
# number
case ${container_name} in