Page MenuHomeDevCentral

D1050.diff
No OneTemporary

D1050.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
Sun, Dec 22, 17:48 (12 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2310873
Default Alt Text
D1050.diff (535 B)

Event Timeline