diff options
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/State.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/State.pm b/usr.sbin/pkg_add/OpenBSD/State.pm index b89c2f4adf2..c38ffa38dc4 100644 --- a/usr.sbin/pkg_add/OpenBSD/State.pm +++ b/usr.sbin/pkg_add/OpenBSD/State.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: State.pm,v 1.62 2019/07/24 18:05:26 espie Exp $ +# $OpenBSD: State.pm,v 1.63 2019/12/04 10:45:19 espie Exp $ # # Copyright (c) 2007-2014 Marc Espie <espie@openbsd.org> # @@ -437,8 +437,8 @@ sub find_signal sub child_error { - my $self = shift; - my $error = $?; + my ($self, $error) = @_; + $error //= $?; my $extra = ""; |