summaryrefslogtreecommitdiff
path: root/lib/perl5db.pl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/perl5db.pl')
-rw-r--r--lib/perl5db.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/perl5db.pl b/lib/perl5db.pl
index ea0d049a78..d237e00fb2 100644
--- a/lib/perl5db.pl
+++ b/lib/perl5db.pl
@@ -3319,7 +3319,7 @@ Return to any given position in the B<true>-history list
my $max_fd = 1024; # default if POSIX can't be loaded
if (eval { require POSIX }) {
- $max_fd = POSIX::sysconf(POSIX::_SC_OPEN_MAX());
+ eval { $max_fd = POSIX::sysconf(POSIX::_SC_OPEN_MAX()) };
}
if (defined $max_fd) {