Page MenuHomeDevCentral

D1050.id2708.diff
No OneTemporary

D1050.id2708.diff

diff --git a/roles/paas-docker/systemd-unit/files/get-containers-list.sh b/roles/paas-docker/systemd-unit/files/get-containers-list.sh
--- a/roles/paas-docker/systemd-unit/files/get-containers-list.sh
+++ b/roles/paas-docker/systemd-unit/files/get-containers-list.sh
@@ -34,7 +34,7 @@
# Test argument to know in wich order return names
if [[ $1 == "--reverse" ]]; then
- for ((i="${#array[*]}"; i > 0; i--)); do
+ for ((i="${#array[*]}" - 1; i >= 0; i--)); do
echo "${array[i]}"
done
elif [[ -z "$1" ]]; then

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 23, 05:19 (17 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2310873
Default Alt Text
D1050.id2708.diff (535 B)

Event Timeline