diff options
author | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2017-01-11 08:11:20 +0000 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2017-01-11 08:11:20 +0000 |
commit | 98792846952c191df6155eaff650d93bd825a7c7 (patch) | |
tree | c5202d0f9e66a386d1f49944cd03c984c58e4fb4 | |
parent | f54713c0ba7a31fe4f6e3b81c2f3d4c130b75a4e (diff) |
Drop FTP_KEEPALIVE, it's unused.
-rw-r--r-- | usr.sbin/syspatch/syspatch.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/syspatch/syspatch.sh b/usr.sbin/syspatch/syspatch.sh index 7b87ba733f9..320b2cdca0b 100644 --- a/usr.sbin/syspatch/syspatch.sh +++ b/usr.sbin/syspatch/syspatch.sh @@ -1,6 +1,6 @@ #!/bin/ksh # -# $OpenBSD: syspatch.sh,v 1.79 2016/12/31 15:52:36 ajacoutot Exp $ +# $OpenBSD: syspatch.sh,v 1.80 2017/01/11 08:11:19 ajacoutot Exp $ # # Copyright (c) 2016 Antoine Jacoutot <ajacoutot@openbsd.org> # @@ -274,7 +274,7 @@ set -A _KERNV -- $(sysctl -n kern.version | (($(id -u) != 0)) && sp_err "${0##*/}: need root privileges" (($(sysctl -n hw.ncpufound) > 1)) && _BSDMP=true || _BSDMP=false -_FETCH="ftp -MVk ${FTP_KEEPALIVE-0}" +_FETCH="ftp -MV" _OSrev=${_KERNV[0]%\.*}${_KERNV[0]#*\.} _PDIR="/var/syspatch" _TMP=$(mktemp -d -p /tmp syspatch.XXXXXXXXXX) |