mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-15 01:54:18 +00:00
Merge pull request #465 from bostjan/bugfix/autostart-order-reverse
autostart: Fix bug with containers being started in reverse order
This commit is contained in:
commit
51eba2ce15
@ -304,7 +304,7 @@ static int cmporder(const void *p1, const void *p2) {
|
|||||||
if (c1_order == c2_order)
|
if (c1_order == c2_order)
|
||||||
return strcmp(c1->name, c2->name);
|
return strcmp(c1->name, c2->name);
|
||||||
else
|
else
|
||||||
return (c1_order - c2_order) * -1;
|
return (c1_order - c2_order);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int toss_list( struct lxc_list *c_groups_list ) {
|
static int toss_list( struct lxc_list *c_groups_list ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user