summaryrefslogtreecommitdiff
path: root/sys-apps/openrc/files/openrc-netmount-fix.patch
blob: 8e6b36868d157bff4e3584773e0187023fcf3352 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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