summaryrefslogtreecommitdiffstats
path: root/setup-named-chroot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'setup-named-chroot.sh')
-rwxr-xr-xsetup-named-chroot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-named-chroot.sh b/setup-named-chroot.sh
index 9f96278..8de494b 100755
--- a/setup-named-chroot.sh
+++ b/setup-named-chroot.sh
@@ -44,7 +44,7 @@ mount_chroot_conf()
# Mount source is a directory. Mount it only if directory in chroot is
# empty.
if [ -e "$all" ] && [ `ls -1A $ROOTDIR$all | wc -l` -eq 0 ]; then
- mount --rbind "$all" "$ROOTDIR$all"
+ mount --bind --make-private "$all" "$ROOTDIR$all"
fi
fi
done