Skip to content

Commit

Permalink
Merge pull request #465 from bostjan/bugfix/autostart-order-reverse
Browse files Browse the repository at this point in the history
autostart: Fix bug with containers being started in reverse order
  • Loading branch information
stgraber committed Apr 6, 2015
2 parents b293790 + 99a7b6f commit 51eba2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/lxc_autostart.c
Expand Up @@ -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 ) {
Expand Down

0 comments on commit 51eba2c

Please sign in to comment.