summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2023-08-30 12:04:10 +0000
committerMarc Espie <espie@cvs.openbsd.org>2023-08-30 12:04:10 +0000
commitea957b6a97b257f42aa8f086b9127a30199c8f14 (patch)
tree067d56e3f57a18a587503ec0704d9da06b4710ba /usr.sbin/pkg_add
parent2df2280020697b5530f5174d0ff53f059feaa4d0 (diff)
fix signal reporting
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/BaseState.pm4
1 files 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 <espie@openbsd.org>
#
@@ -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);
}