summaryrefslogtreecommitdiff
path: root/net/cvsup-mirror/files/update.sh
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>2000-06-21 05:00:15 +0000
committerJohn Polstra <jdp@FreeBSD.org>2000-06-21 05:00:15 +0000
commit3d21afad7bd09edc7d5bac0bd84bbc7193c63604 (patch)
treeac1e4198f45cad0621389070d1ea7bd77970f0ef /net/cvsup-mirror/files/update.sh
parentErich Zigler <erich@tacni.net> is the new maintainer of this port (diff)
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>
Notes
Notes: svn path=/head/; revision=29735
Diffstat (limited to 'net/cvsup-mirror/files/update.sh')
-rw-r--r--net/cvsup-mirror/files/update.sh2
1 files changed, 1 insertions, 1 deletions
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