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
8c6c9475
Commit
8c6c9475
authored
Oct 07, 2008
by
dlezcano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix missing container name, reorder subsystems component
parent
7f118a6c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
lxc_conf.c
src/lxc/lxc_conf.c
+5
-5
No files found.
src/lxc/lxc_conf.c
View file @
8c6c9475
...
@@ -654,7 +654,7 @@ static int setup_cgroup_cb(const char *name, const char *dirname,
...
@@ -654,7 +654,7 @@ static int setup_cgroup_cb(const char *name, const char *dirname,
const
char
*
file
,
void
*
data
)
const
char
*
file
,
void
*
data
)
{
{
if
(
lxc_cgroup_copy
(
name
,
file
))
if
(
lxc_cgroup_copy
(
name
,
file
))
lxc_log_warning
(
"failed to setup '%s'"
);
lxc_log_warning
(
"failed to setup '%s'"
,
name
);
return
0
;
return
0
;
}
}
...
@@ -1290,13 +1290,13 @@ int lxc_setup(const char *name)
...
@@ -1290,13 +1290,13 @@ int lxc_setup(const char *name)
return
-
1
;
return
-
1
;
}
}
if
(
conf_has_
fstab
(
name
)
&&
setup_mount
(
name
))
{
if
(
conf_has_
cgroup
(
name
)
&&
setup_cgroup
(
name
))
{
lxc_log_error
(
"failed to setup the
mount point
s for '%s'"
,
name
);
lxc_log_error
(
"failed to setup the
cgroup
s for '%s'"
,
name
);
return
-
1
;
return
-
1
;
}
}
if
(
conf_has_
cgroup
(
name
)
&&
setup_cgroup
(
name
))
{
if
(
conf_has_
fstab
(
name
)
&&
setup_mount
(
name
))
{
lxc_log_error
(
"failed to setup the
cgroup
s for '%s'"
,
name
);
lxc_log_error
(
"failed to setup the
mount point
s for '%s'"
,
name
);
return
-
1
;
return
-
1
;
}
}
...
...
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