Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 156766 | Differences between
and this patch

Collapse All | Expand All

(-)halt.sh (+5 lines)
Lines 106-111 Link Here
106
		continue
106
		continue
107
	fi
107
	fi
108
108
109
	# If we're using the mount (probably /usr) then don't unmount us
110
	if [[ " $(fuser -m "${x}" 2>/dev/null) " == *" $$ "* ]] ; then
111
		continue
112
	fi
113
109
	if ! umount "${x}" &>/dev/null; then
114
	if ! umount "${x}" &>/dev/null; then
110
		# Kill processes still using this mount
115
		# Kill processes still using this mount
111
		/bin/fuser -s -k -9 -m "${x}"
116
		/bin/fuser -s -k -9 -m "${x}"

Return to bug 156766