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

Collapse All | Expand All

(-)src/su.c.orig (+6 lines)
Lines 516-521 Link Here
516
		 */
516
		 */
517
		if ((cp = getenv ("TERM")))
517
		if ((cp = getenv ("TERM")))
518
			addenv ("TERM", cp);
518
			addenv ("TERM", cp);
519
520
		/*
521
		 * Do the same thing for COLORTERM.
522
		 */
523
		if ((cp = getenv ("COLORTERM")))
524
			addenv ("COLORTERM", cp);
519
#ifndef USE_PAM
525
#ifndef USE_PAM
520
		if ((cp = getdef_str ("ENV_TZ")))
526
		if ((cp = getdef_str ("ENV_TZ")))
521
			addenv (*cp == '/' ? tz (cp) : cp, NULL);
527
			addenv (*cp == '/' ? tz (cp) : cp, NULL);

Return to bug 192432