View | Details | Raw Unified | Return to bug 49296
Collapse All | Expand All

(-)./programs/xdm/config/Xsession.orig (-1 / +2 lines)
Lines 10-16 Link Here
10
# redirect errors to a file in user's home directory if we can
10
# redirect errors to a file in user's home directory if we can
11
for errfile in "$HOME/.xsession-errors" "${TMPDIR-/tmp}/xses-$USER" "/tmp/xses-$USER"
11
for errfile in "$HOME/.xsession-errors" "${TMPDIR-/tmp}/xses-$USER" "/tmp/xses-$USER"
12
do
12
do
13
	if ( cp /dev/null "$errfile" 2> /dev/null )
13
	/bin/rm -- $errfile
14
	if ( /bin/mktemp "$errfile" 2> /dev/null )
14
	then
15
	then
15
		chmod 600 "$errfile"
16
		chmod 600 "$errfile"
16
		exec > "$errfile" 2>&1
17
		exec > "$errfile" 2>&1

Return to bug 49296