diff options
Diffstat (limited to 'usr.sbin/syspatch/syspatch.sh')
-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 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} |