[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	djm_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2008/07/05 01:25:19

Modified files:
	bin/ksh        : main.c 

Log message:
ksh starting as root will refuse to import a PS1 prompt unless it
contains a '#' character. Make it also accept the \$ PS1 sequence
(which is supposed to automagically be $ or # depending on the user
running the shell) unless ksh has been started in sh-compatibility
mode.

pointed out by millert@ when I asked why my SUDO_PS1 was not being
honoured; ok millert@



Visit your host, monkey.org