diff options
author | ajacoutot <ajacoutot@openbsd.org> | 2017-05-18 12:02:06 +0000 |
---|---|---|
committer | ajacoutot <ajacoutot@openbsd.org> | 2017-05-18 12:02:06 +0000 |
commit | 170c764558588894cb7abe66887c78f54823a2b5 (patch) | |
tree | 697470375ba6f63fa60557113c846c718bea8f7b /usr.sbin/syspatch | |
parent | better describe "!"; (diff) | |
download | wireguard-openbsd-170c764558588894cb7abe66887c78f54823a2b5.tar.xz wireguard-openbsd-170c764558588894cb7abe66887c78f54823a2b5.zip |
Don't pass `-m' to ftp(1). Instead let isatty() decide whether we display the
progress bar or not for better cron(1)/logger(1) output.
req. by henning@
Diffstat (limited to 'usr.sbin/syspatch')
-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 f2cf67e4587..45fbb39a6a7 100644 --- a/usr.sbin/syspatch/syspatch.sh +++ b/usr.sbin/syspatch/syspatch.sh @@ -1,6 +1,6 @@ #!/bin/ksh # -# $OpenBSD: syspatch.sh,v 1.102 2017/05/17 13:23:58 ajacoutot Exp $ +# $OpenBSD: syspatch.sh,v 1.103 2017/05/18 12:02:06 ajacoutot Exp $ # # Copyright (c) 2016, 2017 Antoine Jacoutot <ajacoutot@openbsd.org> # @@ -145,7 +145,7 @@ fetch_and_verify() local _tgz=$1 [[ -n ${_tgz} ]] - unpriv -f "${_TMP}/${_tgz}" ftp -Vm -D "Get/Verify" -o \ + unpriv -f "${_TMP}/${_tgz}" ftp -VD "Get/Verify" -o \ "${_TMP}/${_tgz}" "${_MIRROR}/${_tgz}" (cd ${_TMP} && sha256 -qC ${_TMP}/SHA256 ${_tgz}) |