Posted by daniel_hozac on Wed 2nd Dec 12:09
download | new post
- Index: scripts/vserver.functions
- ===================================================================
- --- scripts/vserver.functions (revision 2849)
- +++ scripts/vserver.functions (working copy)
- -918,6 +918,10 @@
- # magic regarding the mtab file; when etc/mtab can not be touched,
- # add the '-n' flag to mount
- test -w etc -o -w etc/mtab || xflag=-n
- + if test -h etc/mtab; then
- + local l=$($_READLINK etc/mtab)
- + test "${l##/proc/}" = "$l" || xflag=-n
- + fi
- "$@" $_SECURE_MOUNT -a $xflag --chroot --fstab "$fstab" --rootfs no
- popd >/dev/null
- }
Submit a correction or amendment below. (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.
