summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2017-06-09 07:37:39 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2017-06-09 07:37:39 +0000
commitfa0ff088d186db4da52121b167bc05537f651cdc (patch)
tree74890547830e565a47541a3bf3b84f41d71459f1 /usr.sbin
parentccf4dda582b08c53130626edb06f2baf44512106 (diff)
Drop uneeded return from rollback_patch().
Diffstat (limited to 'usr.sbin')
-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}