Commit 51eba2ce by Stéphane Graber

Merge pull request #465 from bostjan/bugfix/autostart-order-reverse

autostart: Fix bug with containers being started in reverse order
parents b2937903 99a7b6f7
......@@ -304,7 +304,7 @@ static int cmporder(const void *p1, const void *p2) {
if (c1_order == c2_order)
return strcmp(c1->name, c2->name);
else
return (c1_order - c2_order) * -1;
return (c1_order - c2_order);
}
static int toss_list( struct lxc_list *c_groups_list ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment