aboutsummaryrefslogtreecommitdiffstats
path: root/mountvirtfs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mountvirtfs.sh')
-rw-r--r--mountvirtfs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mountvirtfs.sh b/mountvirtfs.sh
index 808f4a6..49de1e7 100644
--- a/mountvirtfs.sh
+++ b/mountvirtfs.sh
@@ -7,7 +7,7 @@ else
printf "%b" " ${IYLW}${LFS}/dev${IGRN} is already mounted${RST}\n"
fi
if ! mountpoint "${LFS}"/dev/pts >/dev/null 2>&1; then
- sudo mount /dev/pts "${LFS}"/dev/pts
+ sudo mount --bind /dev/pts "${LFS}"/dev/pts
else
printf "%b" " ${IYLW}${LFS}/dev/pts${IGRN} is already mounted${RST}\n"
fi