artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb444e8
)
Drop uneeded return from rollback_patch().
author
ajacoutot
<ajacoutot@openbsd.org>
Fri, 9 Jun 2017 07:37:38 +0000
(07:37 +0000)
committer
ajacoutot
<ajacoutot@openbsd.org>
Fri, 9 Jun 2017 07:37:38 +0000
(07:37 +0000)
usr.sbin/syspatch/syspatch.sh
patch
|
blob
|
history
diff --git
a/usr.sbin/syspatch/syspatch.sh
b/usr.sbin/syspatch/syspatch.sh
index
9f84c94
..
a4eb76b
100644
(file)
--- a/
usr.sbin/syspatch/syspatch.sh
+++ b/
usr.sbin/syspatch/syspatch.sh
@@
-1,6
+1,6
@@
#!/bin/ksh
#
-# $OpenBSD: syspatch.sh,v 1.11
3 2017/06/09 07:32:26
ajacoutot Exp $
+# $OpenBSD: syspatch.sh,v 1.11
4 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}