We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4debf48 commit f285712Copy full SHA for f285712
2 files changed
lib.sh.in
@@ -99,7 +99,7 @@ umount_pseudofs() {
99
# contingency where the psuedofs mounts are not present.
100
if [ -d "${ROOTFS}" ]; then
101
for f in dev proc sys; do
102
- umount -f "$ROOTFS/$f" >/dev/null 2>&1
+ umount -R -f "$ROOTFS/$f" >/dev/null 2>&1
103
done
104
fi
105
umount -f "$ROOTFS/tmp" >/dev/null 2>&1
mklive.sh.in
@@ -51,9 +51,9 @@ mount_pseudofs() {
51
52
}
53
umount_pseudofs() {
54
- umount -f "$ROOTFS"/sys >/dev/null 2>&1
55
- umount -f "$ROOTFS"/dev >/dev/null 2>&1
56
- umount -f "$ROOTFS"/proc >/dev/null 2>&1
+ umount -R -f "$ROOTFS"/sys >/dev/null 2>&1
+ umount -R -f "$ROOTFS"/dev >/dev/null 2>&1
+ umount -R -f "$ROOTFS"/proc >/dev/null 2>&1
57
58
error_out() {
59
umount_pseudofs
0 commit comments