Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3925192
D1050.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
535 B
Referenced Files
None
Subscribers
None
D1050.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D1050: Fix get-containers-list --reverse shift
Attached
Detach File
Event Timeline
Log In to Comment