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
196ab66b
Commit
196ab66b
authored
Aug 15, 2014
by
Stéphane Graber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in the previous commit...
Signed-off-by:
Stéphane Graber
<
stgraber@ubuntu.com
>
parent
99e5ef73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
start.c
src/lxc/start.c
+2
-2
No files found.
src/lxc/start.c
View file @
196ab66b
...
@@ -548,9 +548,9 @@ static int must_drop_cap_sys_boot(struct lxc_conf *conf)
...
@@ -548,9 +548,9 @@ static int must_drop_cap_sys_boot(struct lxc_conf *conf)
#endif
#endif
if
(
pid
<
0
)
{
if
(
pid
<
0
)
{
if
(
flags
&
CLONE_NEWUSER
)
if
(
flags
&
CLONE_NEWUSER
)
ERR
R
OR
(
"failed to clone (%#x): %s (includes CLONE_NEWUSER)"
,
flags
,
strerror
(
errno
));
ERROR
(
"failed to clone (%#x): %s (includes CLONE_NEWUSER)"
,
flags
,
strerror
(
errno
));
else
else
ERR
R
OR
(
"failed to clone (%#x): %s"
,
flags
,
strerror
(
errno
));
ERROR
(
"failed to clone (%#x): %s"
,
flags
,
strerror
(
errno
));
return
-
1
;
return
-
1
;
}
}
if
(
wait
(
&
status
)
<
0
)
{
if
(
wait
(
&
status
)
<
0
)
{
...
...
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