diff options
author | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2019-05-05 10:24:01 +0000 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2019-05-05 10:24:01 +0000 |
commit | 99ecb7907735a482bb38807b6392cfee4c815fa4 (patch) | |
tree | d8fc41d817faead2c08b4c7b0c312f10b58d8da9 /usr.sbin/syspatch | |
parent | 65b662d704ec83e6a78001aa530807fe48a9a18e (diff) |
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}" |