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

Collapse All | Expand All

(-)net-misc/tigervnc/files/tigervnc.initd (-1 / +1 lines)
Lines 11-17 Link Here
11
		if [ $1 = "start" ]; then
11
		if [ $1 = "start" ]; then
12
			local user
12
			local user
13
			for user in $DISPLAYS; do
13
			for user in $DISPLAYS; do
14
				if eval [ ! -f "~${user%%:*}/.vnc/passwd" ]; then
14
				if runuser -l "${user%%:*}" -c "[ ! -f ~/.vnc/passwd ]"; then
15
					eerror "There are no passwords defined for user ${user%%:*}."
15
					eerror "There are no passwords defined for user ${user%%:*}."
16
					return 1
16
					return 1
17
				elif [ -e "/tmp/.X11-unix/X${user##*:}" ]; then
17
				elif [ -e "/tmp/.X11-unix/X${user##*:}" ]; then

Return to bug 690046