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

Collapse All | Expand All

(-)xdm.initd-3 (-2 / +4 lines)
Lines 90-97 setup_dm() { Link Here
90
		*)
90
		*)
91
			EXE=
91
			EXE=
92
			# Fix #65586, where MY_XDM is empty so EXE=somedir
92
			# Fix #65586, where MY_XDM is empty so EXE=somedir
93
			[ -x "/usr/bin/${MY_XDM}" ] && [ -f "/usr/bin/${MY_XDM}" ] \
93
			if [ -x "/usr/bin/${MY_XDM}" ] && [ -f "/usr/bin/${MY_XDM}" ] ; then
94
				&& EXE="/usr/bin/${MY_XDM}"
94
				EXE="/usr/bin/${MY_XDM}"
95
				PIDFILE="/var/run/unsup-xdm-${MY_XDM}.pid"
96
			fi
95
			if [ -z "${EXE}" ] ; then
97
			if [ -z "${EXE}" ] ; then
96
				EXE=/usr/bin/xdm
98
				EXE=/usr/bin/xdm
97
				PIDFILE=/var/run/xdm.pid
99
				PIDFILE=/var/run/xdm.pid

Return to bug 287498