Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 05/07/2001 10:07:12
Module Name: basesrc
Committed By: lukem
Date: Mon May 7 07:07:12 UTC 2001
Modified Files:
basesrc/etc: rc.subr
Log Message:
Don't try and use single quotes in the RHS of a ${ :+ } expansion
because /bin/sh needs a different syntax than ksh (and bash, etc).
Use a more obvious and less error prone method. (This complicated
use of ${:+} was only used to build the su command when running as
a separate user, but could always cause problems.)
Problem noted by Hubert Feyrer in conjunction with /etc/rc.d/sshd.
To generate a diff of this commit:
cvs rdiff -r1.33 -r1.34 basesrc/etc/rc.subr
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.