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

Collapse All | Expand All

(-)/tmp/tigervnc (-1 / +1 lines)
Lines 41-47 Link Here
41
		usropts=VNC_OPTS_${usrname}
41
		usropts=VNC_OPTS_${usrname}
42
		usrdisp=${user##*:}
42
		usrdisp=${user##*:}
43
		usrvar=$usropts"["$usrdisp"]"
43
		usrvar=$usropts"["$usrdisp"]"
44
		[ -z ${!usrvar} ] && vnc_opts=$VNC_OPTS || vnc_opts=${!usrvar}
44
		[ -z "${!usrvar}" ] && vnc_opts=$VNC_OPTS || vnc_opts=${!usrvar}
45
45
46
		# A user may have an invalid shell, so we default to /bin/sh if its the case
46
		# A user may have an invalid shell, so we default to /bin/sh if its the case
47
		if [ -x /usr/bin/getent ] ; then
47
		if [ -x /usr/bin/getent ] ; then

Return to bug 552048