From 9eb8b03abf77816730066d8d03ef3622b38d96df Mon Sep 17 00:00:00 2001 From: espie Date: Mon, 6 Nov 2023 08:21:43 +0000 Subject: [PATCH] system + exit -> exec as noticed by afresh1@ (this should be all for now) --- gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm b/gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm index c814a7196c1..0bfbfcbef39 100644 --- a/gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm +++ b/gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm @@ -276,8 +276,7 @@ sub Tgetent warn "cannot run infocmp: $!" if !defined $child; if (!$child) { open(STDERR, ">", "/dev/null"); - system('infocmp', '-CTr', $tmp_term); - exit(1); + exec('infocmp', '-CTr', $tmp_term); } } else { open($fh, '<', $TERMCAP) || croak "open $TERMCAP: $!"; -- 2.20.1