projects
/
platform
/
upstream
/
nsjail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be302c4
)
No Yoda
author
Eli Zrihen
<ezrihen@gmail.com>
Thu, 8 Jul 2021 18:47:13 +0000
(21:47 +0300)
committer
Eli Zrihen
<ezrihen@gmail.com>
Thu, 8 Jul 2021 18:47:13 +0000
(21:47 +0300)
mnt.cc
patch
|
blob
|
history
diff --git
a/mnt.cc
b/mnt.cc
index 4b2ed2fd487ea8c6b934188d2a5c4a6c348f0085..0d04cd225fc8c885d6f8670ce7d8bf9aebb36ebe 100644
(file)
--- a/
mnt.cc
+++ b/
mnt.cc
@@
-399,7
+399,7
@@
static bool initCloneNs(nsjconf_t* nsjconf) {
return false;
}
- if (
false ==
nsjconf->use_switchroot) {
+ if (
!
nsjconf->use_switchroot) {
/*
* This requires some explanation: It's actually possible to pivot_root('/', '/').
* After this operation has been completed, the old root is mounted over the new