From 5108b3707a15f2361663eb6fa21ab087b5dc244d Mon Sep 17 00:00:00 2001 From: espie Date: Wed, 27 Jul 2016 12:57:10 +0000 Subject: [PATCH] hunting around for some sporadic error message. Removing the hash entry entirely is slightly better. noticed by sthen@ --- usr.sbin/pkg_add/OpenBSD/PackageRepository.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm b/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm index 45e84248239..9bb8ec0d12b 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackageRepository.pm,v 1.124 2016/06/27 08:38:15 espie Exp $ +# $OpenBSD: PackageRepository.pm,v 1.125 2016/07/27 12:57:10 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie # @@ -299,9 +299,9 @@ sub did_it_fork $self->{state}->fatal("Cannot fork: #1", $!); } if ($pid == 0) { - undef $SIG{'WINCH'}; - undef $SIG{'CONT'}; - undef $SIG{'INFO'}; + delete $SIG{'WINCH'}; + delete $SIG{'CONT'}; + delete $SIG{'INFO'}; } } -- 2.20.1