diff options
author | 2017-08-29 10:18:07 +0000 | |
---|---|---|
committer | 2017-08-29 10:18:07 +0000 | |
commit | 63f340b9ac68cc3aa9920ffb6de7a5834e30368d (patch) | |
tree | 18eb955c9163c175f7359a2c03dc024dd6e3efcc /usr.sbin/syspatch/syspatch.sh | |
parent | add a -q option to ssh-add to make it quiet on success. (diff) | |
download | wireguard-openbsd-63f340b9ac68cc3aa9920ffb6de7a5834e30368d.tar.xz wireguard-openbsd-63f340b9ac68cc3aa9920ffb6de7a5834e30368d.zip |
Fix logic to not error out.
Diffstat (limited to 'usr.sbin/syspatch/syspatch.sh')
-rw-r--r-- | usr.sbin/syspatch/syspatch.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/syspatch/syspatch.sh b/usr.sbin/syspatch/syspatch.sh index 3e414967602..2c65e8b5ed2 100644 --- a/usr.sbin/syspatch/syspatch.sh +++ b/usr.sbin/syspatch/syspatch.sh @@ -1,6 +1,6 @@ #!/bin/ksh # -# $OpenBSD: syspatch.sh,v 1.125 2017/08/28 09:53:14 ajacoutot Exp $ +# $OpenBSD: syspatch.sh,v 1.126 2017/08/29 10:18:07 ajacoutot Exp $ # # Copyright (c) 2016, 2017 Antoine Jacoutot <ajacoutot@openbsd.org> # @@ -67,8 +67,8 @@ apply_patch() '(^|[[:blank:]]+)usr/share/compile/GENERI(C|C.MP)/[[:print:]]+([[:blank:]]+|$)' || _KARL=true - ${_upself} && sp_err "syspatch updated itself, run it again to install \ -missing patches" 2 + ! ${_upself} || sp_err "syspatch updated itself, run it again to \ +install missing patches" 2 } # quick-and-dirty filesystem status and size checks: |