projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
whitespace cleanups
[util-vserver.git]
/
src
/
secure-mount.c
diff --git
a/src/secure-mount.c
b/src/secure-mount.c
index
4cf996f
..
1a3bc19
100644
(file)
--- a/
src/secure-mount.c
+++ b/
src/secure-mount.c
@@
-460,7
+460,7
@@
mountSingle(struct MountInfo const *mnt, struct Options const *opt)
return false;
}
if ((mnt->flag & MS_BIND) &&
- (mnt->flag & ~(MS_BIND|MS_REC))) {
+ (mnt->mask & ~(MS_BIND|MS_REC))) {
/* This is needed to put us in the new mountpoint */
if (!secureChdir(mnt->dst, opt))
return false;