diff options
author | ajacoutot <ajacoutot@openbsd.org> | 2019-05-05 10:24:00 +0000 |
---|---|---|
committer | ajacoutot <ajacoutot@openbsd.org> | 2019-05-05 10:24:00 +0000 |
commit | 63467dfa5dea5d8b3d700ae9aef9115ca6064478 (patch) | |
tree | 19b134eb0944e6f7e3542dbd02794d9c60669f1e /usr.sbin/syspatch | |
parent | Change variable name. (diff) | |
download | wireguard-openbsd-63467dfa5dea5d8b3d700ae9aef9115ca6064478.tar.xz wireguard-openbsd-63467dfa5dea5d8b3d700ae9aef9115ca6064478.zip |
Initialise variable.
Diffstat (limited to 'usr.sbin/syspatch')
-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 8621627898f..1089ef5cbd2 100644 --- a/usr.sbin/syspatch/syspatch.sh +++ b/usr.sbin/syspatch/syspatch.sh @@ -1,6 +1,6 @@ #!/bin/ksh # -# $OpenBSD: syspatch.sh,v 1.146 2019/05/05 10:22:57 ajacoutot Exp $ +# $OpenBSD: syspatch.sh,v 1.147 2019/05/05 10:24:00 ajacoutot Exp $ # # Copyright (c) 2016, 2017 Antoine Jacoutot <ajacoutot@openbsd.org> # @@ -217,7 +217,7 @@ rollback_patch() trap_handler() { - local _rc + local _rc=0 set +e # we're trapped rm -rf "${_TMP}" |