summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xt/op/stat.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/op/stat.t b/t/op/stat.t
index 8d0ca19bc0..86b2e8cf0e 100755
--- a/t/op/stat.t
+++ b/t/op/stat.t
@@ -185,7 +185,7 @@ my @bin = grep {-d} ($^O eq 'machten' ?
qw(/sbin /usr/sbin /bin /usr/bin));
unless (@bin) { print ("not ok 35\n"), goto tty_test; }
for my $bin (@bin) {
- opendir BIN, $bin or die "Can't opendir $bin: $!";
+ opendir BIN, $bin or warn "Can't opendir $bin: $!";
while (defined($_ = readdir BIN)) {
$_ = "$bin/$_";
$cnt++;