Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4051043
D1050.id2684.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.id2684.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
Fri, Jan 24, 07:51 (13 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2374292
Default Alt Text
D1050.id2684.diff (535 B)
Attached To
Mode
D1050: Fix get-containers-list --reverse shift
Attached
Detach File
Event Timeline
Log In to Comment