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
7a687c31
Unverified
Commit
7a687c31
authored
Oct 28, 2017
by
Christian Brauner
Committed by
Stéphane Graber
Nov 16, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lxc-start: remove unnecessary checks
The console struct is internal and liblxc takes care of creating paths. Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
3909f187
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
lxc_start.c
src/lxc/lxc_start.c
+0
-10
No files found.
src/lxc/lxc_start.c
View file @
7a687c31
...
@@ -291,16 +291,6 @@ int main(int argc, char *argv[])
...
@@ -291,16 +291,6 @@ int main(int argc, char *argv[])
goto
out
;
goto
out
;
}
}
if
(
ensure_path
(
&
conf
->
console
.
path
,
my_args
.
console
)
<
0
)
{
ERROR
(
"failed to ensure console path '%s'"
,
my_args
.
console
);
goto
out
;
}
if
(
ensure_path
(
&
conf
->
console
.
log_path
,
my_args
.
console_log
)
<
0
)
{
ERROR
(
"failed to ensure console log '%s'"
,
my_args
.
console_log
);
goto
out
;
}
if
(
my_args
.
pidfile
!=
NULL
)
{
if
(
my_args
.
pidfile
!=
NULL
)
{
if
(
ensure_path
(
&
c
->
pidfile
,
my_args
.
pidfile
)
<
0
)
{
if
(
ensure_path
(
&
c
->
pidfile
,
my_args
.
pidfile
)
<
0
)
{
ERROR
(
"failed to ensure pidfile '%s'"
,
my_args
.
pidfile
);
ERROR
(
"failed to ensure pidfile '%s'"
,
my_args
.
pidfile
);
...
...
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