Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
99a7b6f7
Commit
99a7b6f7
authored
Mar 04, 2015
by
Bostjan Skufca
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
autostart: Fix bug with containers being started in reverse order
Signed-off-by:
Bostjan Skufca
<
bostjan@a2o.si
>
parent
3b6aebce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lxc_autostart.c
src/lxc/lxc_autostart.c
+1
-1
No files found.
src/lxc/lxc_autostart.c
View file @
99a7b6f7
...
@@ -304,7 +304,7 @@ static int cmporder(const void *p1, const void *p2) {
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment