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
b4f5ab19
Unverified
Commit
b4f5ab19
authored
Nov 29, 2017
by
Christian Brauner
Committed by
GitHub
Nov 29, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1966 from AustinReichert/tools-refactor-lxc-ls
tools/lxc_ls: remove internal logging
parents
ca23fb47
d36ae708
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
lxc_ls.c
src/lxc/tools/lxc_ls.c
+2
-4
No files found.
src/lxc/tools/lxc_ls.c
View file @
b4f5ab19
...
...
@@ -41,8 +41,6 @@
#include "lxc.h"
#include "utils.h"
lxc_log_define
(
lxc_ls
,
lxc
);
/* Per default we only allow five levels of recursion to protect the stack at
* least a little bit. */
#define MAX_NESTLVL 5
...
...
@@ -475,9 +473,9 @@ static int ls_get(struct ls **m, size_t *size, const struct lxc_arguments *args,
if
(
tmp
)
{
unsigned
int
astart
=
0
;
if
(
lxc_safe_uint
(
tmp
,
&
astart
)
<
0
)
WARN
(
"Could not parse value for 'lxc.start.auto'.
"
);
printf
(
"Could not parse value for 'lxc.start.auto'.
\n
"
);
if
(
astart
>
1
)
DEBUG
(
"Wrong value for 'lxc.start.auto = %d'.
"
,
astart
);
printf
(
"Wrong value for 'lxc.start.auto = %d'.
\n
"
,
astart
);
l
->
autostart
=
astart
==
1
?
true
:
false
;
}
free
(
tmp
);
...
...
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