From 98792846952c191df6155eaff650d93bd825a7c7 Mon Sep 17 00:00:00 2001 From: Antoine Jacoutot Date: Wed, 11 Jan 2017 08:11:20 +0000 Subject: Drop FTP_KEEPALIVE, it's unused. --- usr.sbin/syspatch/syspatch.sh | 4 ++-- 1 file 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 # @@ -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) -- cgit v1.2.3