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

Collapse All | Expand All

(-)user.eclass (-5 / +15 lines)
Lines 140-151 Link Here
140
		euid="next"
140
		euid="next"
141
	fi
141
	fi
142
	if [[ ${euid} == "next" ]] ; then
142
	if [[ ${euid} == "next" ]] ; then
143
		for ((euid = 101; euid <= 999; euid++)); do
143
		case ${CHOST} in
144
			[[ -z $(egetent passwd ${euid}) ]] && break
144
		*-linux*)
145
		done
145
			einfo " - Userid: next available"
146
			;;
147
		*)
148
			for ((euid = 101; euid <= 999; euid++)); do
149
				[[ -z $(egetent passwd ${euid}) ]] && break
150
			done
151
			opts+=( -u ${euid} )
152
			einfo " - Userid: ${euid}"
153
			;;
154
		esac
155
	else
156
		opts+=( -u ${euid} )
157
		einfo " - Userid: ${euid}"
146
	fi
158
	fi
147
	opts+=( -u ${euid} )
148
	einfo " - Userid: ${euid}"
149
159
150
	# handle shell
160
	# handle shell
151
	local eshell=$1; shift
161
	local eshell=$1; shift

Return to bug 477804