diff options
author | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2018-04-26 12:50:42 +0000 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2018-04-26 12:50:42 +0000 |
commit | a1239023b87d2311f8cbbe077846bf3250a459aa (patch) | |
tree | a3b513fda421f51bab30a3dd9c2751a895570d8e /usr.sbin/syspatch | |
parent | b5e621a41798b95e9539225bae33e087fcebc12d (diff) |
Don't hide stderr; starting with 6.4 there will always be an SHA256.sig.
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 023e1fdd9ec..c06a3536eb1 100644 --- a/usr.sbin/syspatch/syspatch.sh +++ b/usr.sbin/syspatch/syspatch.sh @@ -1,6 +1,6 @@ #!/bin/ksh # -# $OpenBSD: syspatch.sh,v 1.135 2018/03/10 12:34:53 ajacoutot Exp $ +# $OpenBSD: syspatch.sh,v 1.136 2018/04/26 12:50:41 ajacoutot Exp $ # # Copyright (c) 2016, 2017 Antoine Jacoutot <ajacoutot@openbsd.org> # @@ -159,7 +159,7 @@ ls_missing() # don't output anything on stdout to prevent corrupting the patch list unpriv -f "${_sha}.sig" ftp -MVo "${_sha}.sig" "${_MIRROR}/SHA256.sig" \ - >/dev/null 2>&1 # hide stderr (nonexistent = no patch available) + >/dev/null unpriv -f "${_sha}" signify -Veq -x ${_sha}.sig -m ${_sha} -p \ /etc/signify/openbsd-${_OSrev}-syspatch.pub >/dev/null |