summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2023-11-06 08:23:00 +0000
committerMarc Espie <espie@cvs.openbsd.org>2023-11-06 08:23:00 +0000
commit1279494a1d294f3cac7773dd60958874909c9999 (patch)
tree001b7b8af3024cfdad17aad71e6668a244bb6b02 /gnu/usr.bin
parentab30a2aac893b93732e033ce2e1756a01dcebdcb (diff)
actually, I still need to exit() if infocmp can't be run
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm b/gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm
index 0bfbfcbef39..18cc57471c6 100644
--- a/gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm
+++ b/gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm
@@ -277,6 +277,7 @@ sub Tgetent
if (!$child) {
open(STDERR, ">", "/dev/null");
exec('infocmp', '-CTr', $tmp_term);
+ exit(1);
}
} else {
open($fh, '<', $TERMCAP) || croak "open $TERMCAP: $!";