aboutsummaryrefslogtreecommitdiffstats
path: root/net/cvsup-mirror
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>2000-06-21 13:00:15 +0800
committerjdp <jdp@FreeBSD.org>2000-06-21 13:00:15 +0800
commit590d2eea9a687cc747957c6bcc8dad3c928d04ed (patch)
tree16b9ddfc6020ac8aa88dd9a4f72f750ebdfca85a /net/cvsup-mirror
parent92f965f54a30bb0b2026738523d5d9be2c4dd86d (diff)
downloadfreebsd-ports-gnome-590d2eea9a687cc747957c6bcc8dad3c928d04ed.tar.gz
freebsd-ports-gnome-590d2eea9a687cc747957c6bcc8dad3c928d04ed.tar.zst
freebsd-ports-gnome-590d2eea9a687cc747957c6bcc8dad3c928d04ed.zip
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 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