diff options
Diffstat (limited to 'net/cvsup-mirror')
-rw-r--r-- | net/cvsup-mirror/files/cvsupd.sh | 2 | ||||
-rw-r--r-- | net/cvsup-mirror/files/update.sh | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/net/cvsup-mirror/files/cvsupd.sh b/net/cvsup-mirror/files/cvsupd.sh index 9a78f9a66f66..f470dd3c6070 100644 --- a/net/cvsup-mirror/files/cvsupd.sh +++ b/net/cvsup-mirror/files/cvsupd.sh @@ -19,7 +19,7 @@ cd ${rundir} || exit arg=${1:-start} case $arg in start) - su -m ${user} -c \ + su -f -m ${user} -c \ "cvsupd -e -C 100 -l @${facility} -b ${base} -s sup.client" \ >>${out} 2>&1;; diff --git a/net/cvsup-mirror/files/update.sh b/net/cvsup-mirror/files/update.sh index f0888ecbba07..1f0c4dbe6880 100644 --- a/net/cvsup-mirror/files/update.sh +++ b/net/cvsup-mirror/files/update.sh @@ -48,17 +48,17 @@ umask 2 ok=yes if [ ${host_crypto} = ${host} ]; then echo "Updating from ${host}" - su -m ${cuser} -c \ + su -f -m ${cuser} -c \ "${cmd} ${options} -h ${host} ${base}/supfile" || ok=no else if [ -d ${base}/prefixes/FreeBSD-crypto.cvs ]; then echo "Updating from ${host_crypto}" - su -m ${cuser} -c \ + su -f -m ${cuser} -c \ "${cmd} ${options} -h ${host_crypto} ${base}/supfile.crypto" ||\ ok=no fi echo "Updating from ${host}" - su -m ${cuser} -c \ + su -f -m ${cuser} -c \ "${cmd} ${options} -h ${host} ${base}/supfile.non-crypto" || ok=no fi |