Files
sablink-distro/sys-apps/openrc/files/openrc-netmount-fix.patch
T
2010-01-04 18:27:35 +01:00

12 lines
325 B
Diff

--- openrc-0.5.3.orig/init.d/netmount.in
+++ openrc-0.5.3/init.d/netmount.in
@@ -80,7 +80,7 @@ stop()
fs="$fs${fs:+,}$x"
done
if [ -n "$fs" ]; then
- umount -at $fs || eerror "Failed to simply unmount filesystems"
+ umount -at $fs || umount -atl $fs || eerror "Failed to simply unmount filesystems"
fi
eindent