chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: unify getenv() logic for other PID
[elogind.git]
/
src
/
core
/
namespace.c
diff --git
a/src/core/namespace.c
b/src/core/namespace.c
index da555cd23ce21c8802052eeaa6234419282cca33..7ac6b381abb772870457a1fe7e3e628f009622d1 100644
(file)
--- a/
src/core/namespace.c
+++ b/
src/core/namespace.c
@@
-167,7
+167,7
@@
static int apply_mount(Path *p, const char *root_dir, const char *inaccessible_d
/* Avoid exponential growth of trees */
if (r >= 0 && path_equal(p->path, "/"))
- r = mount(NULL, where, NULL, MS_REMOUNT|MS_BIND|
MS_UNBINDABLE|
flags, NULL);
+ r = mount(NULL, where, NULL, MS_REMOUNT|MS_BIND|flags, NULL);
if (r < 0) {
r = -errno;