aboutsummaryrefslogtreecommitdiffstats
path: root/net
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
parent92f965f54a30bb0b2026738523d5d9be2c4dd86d (diff)
downloadfreebsd-ports-graphics-590d2eea9a687cc747957c6bcc8dad3c928d04ed.tar.gz
freebsd-ports-graphics-590d2eea9a687cc747957c6bcc8dad3c928d04ed.tar.zst
freebsd-ports-graphics-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')
-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 5a49d0faf4b..9227683642a 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