summaryrefslogtreecommitdiffstats
path: root/net/cvsup-mirror
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>2000-06-21 05:00:15 +0000
committerjdp <jdp@FreeBSD.org>2000-06-21 05:00:15 +0000
commit590d2eea9a687cc747957c6bcc8dad3c928d04ed (patch)
tree16b9ddfc6020ac8aa88dd9a4f72f750ebdfca85a /net/cvsup-mirror
parent92f965f54a30bb0b2026738523d5d9be2c4dd86d (diff)
downloadFreeBSD-ports-590d2eea9a687cc747957c6bcc8dad3c928d04ed.zip
FreeBSD-ports-590d2eea9a687cc747957c6bcc8dad3c928d04ed.tar.gz
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>
Diffstat (limited to 'net/cvsup-mirror')
-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 5a49d0f..9227683 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
OpenPOWER on IntegriCloud