1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00

Add "exec" to the beginning of commands passed to "su ... -c ...".

With some shells (csh in particular) this eliminates a useless
process waiting for the command to finish.

Submitted by:	Mikhail Teterin <mi@privatelabs.com>
This commit is contained in:
John Polstra 2000-06-21 05:00:15 +00:00
parent 303112b636
commit 3d21afad7b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=29735

View File

@ -42,7 +42,7 @@ cd ${rundir} || exit
colldir=sup.client
startup=${PREFIX}/etc/rc.d
eval chome=~${cuser}
cmd="env HOME=${chome} cvsup"
cmd="exec env HOME=${chome} cvsup"
options="-1gL 1 -b ${base} -c ${colldir} ${CVSUP_ARGS}"
umask 2