summaryrefslogtreecommitdiff
path: root/tcwg-cleanup-stale-containers.sh
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@linaro.org>2020-04-20 15:43:57 +0100
committerDavid Spickett <david.spickett@linaro.org>2020-04-20 16:58:38 +0100
commitb9ecc76e09e95cd3132f1eef572279c1cec68218 (patch)
tree926c2b2d6d411ad266f70ee2756083bbbe07c05c /tcwg-cleanup-stale-containers.sh
parent5bc4a8aa4bb4ec6ffc77d0acce0e3370582760d6 (diff)
Shellcheck warning fixes
(all error/style level warnings) SC1035: missing whitespace SC2068: double quote array expansions SC2145: argument mixes string and array SC1066: Don't use $ on the left side of assignments SC2126: Use grep -c instead of grep|wc Change-Id: Ia53070d3e2c9aea9f626fdb7b2b5bfc9e1f8e682
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 97d8e1ba..a2d074c8 100755
--- a/tcwg-cleanup-stale-containers.sh
+++ b/tcwg-cleanup-stale-containers.sh
@@ -115,7 +115,7 @@ do_cleanup_containers ()
local res
local status="0"
if [ ${#rm_containers[@]} != 0 ]; then
- echo "Containers to ${action_msg}: ${rm_containers[@]}"
+ echo "Containers to ${action_msg}: ${rm_containers[*]}"
if $cleanup_containers; then
for container in "${rm_containers[@]}"; do
echo "Container to ${action_msg}: $container"