Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F58047412
D1050.id2708.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
535 B
Referenced Files
None
Subscribers
None
D1050.id2708.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
Thu, Nov 26, 20:27 (23 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4270892
Default Alt Text
D1050.id2708.diff (535 B)
Attached To
Mode
D1050: Fix get-containers-list --reverse shift
Attached
Detach File
Event Timeline
Log In to Comment