summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syspatch
diff options
context:
space:
mode:
authorajacoutot <ajacoutot@openbsd.org>2017-06-09 07:37:38 +0000
committerajacoutot <ajacoutot@openbsd.org>2017-06-09 07:37:38 +0000
commite858556b37b4700577692dc9c8e9eb029c095f17 (patch)
treed3a620368d165a69698c10f59abadd488dd0989a /usr.sbin/syspatch
parent/etc/mtree/BSD.x11.dist is part of base, not X; so check for (diff)
downloadwireguard-openbsd-e858556b37b4700577692dc9c8e9eb029c095f17.tar.xz
wireguard-openbsd-e858556b37b4700577692dc9c8e9eb029c095f17.zip
Drop uneeded return from rollback_patch().
Diffstat (limited to 'usr.sbin/syspatch')
-rw-r--r--usr.sbin/syspatch/syspatch.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/syspatch/syspatch.sh b/usr.sbin/syspatch/syspatch.sh
index 9f84c94d59a..a4eb76b43f3 100644
--- a/usr.sbin/syspatch/syspatch.sh
+++ b/usr.sbin/syspatch/syspatch.sh
@@ -1,6 +1,6 @@
#!/bin/ksh
#
-# $OpenBSD: syspatch.sh,v 1.113 2017/06/09 07:32:26 ajacoutot Exp $
+# $OpenBSD: syspatch.sh,v 1.114 2017/06/09 07:37:38 ajacoutot Exp $
#
# Copyright (c) 2016, 2017 Antoine Jacoutot <ajacoutot@openbsd.org>
#
@@ -212,7 +212,7 @@ rollback_patch()
local _edir _file _files _patch _ret=0
_patch="$(ls_installed | tail -1)"
- [[ -n ${_patch} ]] || return # function used as a while condition
+ [[ -n ${_patch} ]]
_edir=${_TMP}/${_patch}-rollback
_patch=${_OSrev}-${_patch}