diff options
author | jdp <jdp@FreeBSD.org> | 2000-06-21 13:00:15 +0800 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 2000-06-21 13:00:15 +0800 |
commit | 590d2eea9a687cc747957c6bcc8dad3c928d04ed (patch) | |
tree | 16b9ddfc6020ac8aa88dd9a4f72f750ebdfca85a /net/cvsup-mirror | |
parent | 92f965f54a30bb0b2026738523d5d9be2c4dd86d (diff) | |
download | freebsd-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.sh | 2 |
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 |