From 1bd70b3df4bd09cab0a6024bf10d8449eac33cab Mon Sep 17 00:00:00 2001 From: espie Date: Wed, 30 Aug 2023 12:04:09 +0000 Subject: [PATCH] fix signal reporting --- usr.sbin/pkg_add/OpenBSD/BaseState.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/pkg_add/OpenBSD/BaseState.pm b/usr.sbin/pkg_add/OpenBSD/BaseState.pm index 231a0e6e77e..a495d8380c0 100644 --- a/usr.sbin/pkg_add/OpenBSD/BaseState.pm +++ b/usr.sbin/pkg_add/OpenBSD/BaseState.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: BaseState.pm,v 1.3 2023/06/13 09:07:17 espie Exp $ +# $OpenBSD: BaseState.pm,v 1.4 2023/08/30 12:04:09 espie Exp $ # # Copyright (c) 2007-2022 Marc Espie # @@ -171,7 +171,7 @@ sub child_error($self, $error = $?) } if ($error & 127) { return $self->f("killed by signal #1#2", - find_signal($error & 127), $extra); + $self->find_signal($error & 127), $extra); } else { return $self->f("exit(#1)#2", ($error >> 8), $extra); } -- 2.20.1