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
348f192d
Unverified
Commit
348f192d
authored
Dec 03, 2017
by
Pierre LALET
Committed by
Christian Brauner
Dec 15, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix SETCOLOR_FAILURE evaluation
Signed-off-by:
Pierre LALET
<
pierre.lalet@cea.fr
>
parent
68251bd6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lxc-checkconfig.in
src/lxc/tools/lxc-checkconfig.in
+2
-2
No files found.
src/lxc/tools/lxc-checkconfig.in
View file @
348f192d
...
@@ -153,14 +153,14 @@ echo
...
@@ -153,14 +153,14 @@ echo
CGROUP_SYSTEMD_MNTPT
=
`
echo
"
$CGROUP_V1_MNTS
"
|
grep
"/systemd"
`
CGROUP_SYSTEMD_MNTPT
=
`
echo
"
$CGROUP_V1_MNTS
"
|
grep
"/systemd"
`
if
[
-z
"
$CGROUP_SYSTEMD_MNTPT
"
]
;
then
if
[
-z
"
$CGROUP_SYSTEMD_MNTPT
"
]
;
then
echo
-n
"Cgroup v1 systemd controller: "
echo
-n
"Cgroup v1 systemd controller: "
"
$SETCOLOR_FAILURE
"
&&
echo
-n
"missing"
&&
$SETCOLOR_NORMAL
$SETCOLOR_FAILURE
&&
echo
-n
"missing"
&&
$SETCOLOR_NORMAL
echo
echo
fi
fi
CGROUP_FREEZER_MNTPT
=
`
echo
"
$CGROUP_V1_MNTS
"
|
grep
"/freezer"
`
CGROUP_FREEZER_MNTPT
=
`
echo
"
$CGROUP_V1_MNTS
"
|
grep
"/freezer"
`
if
[
-z
"
$CGROUP_FREEZER_MNTPT
"
]
;
then
if
[
-z
"
$CGROUP_FREEZER_MNTPT
"
]
;
then
echo
-n
"Cgroup v1 freezer controller: "
echo
-n
"Cgroup v1 freezer controller: "
"
$SETCOLOR_FAILURE
"
&&
echo
-n
"missing"
&&
$SETCOLOR_NORMAL
$SETCOLOR_FAILURE
&&
echo
-n
"missing"
&&
$SETCOLOR_NORMAL
echo
echo
fi
fi
...
...
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