From 3d21afad7bd09edc7d5bac0bd84bbc7193c63604 Mon Sep 17 00:00:00 2001 From: John Polstra Date: Wed, 21 Jun 2000 05:00:15 +0000 Subject: 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 --- net/cvsup-mirror/files/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/cvsup-mirror') diff --git a/net/cvsup-mirror/files/update.sh b/net/cvsup-mirror/files/update.sh index 5a49d0faf4b1..9227683642a7 100644 --- a/net/cvsup-mirror/files/update.sh +++ b/net/cvsup-mirror/files/update.sh @@ -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 -- cgit v1.2.3