Less alarming warning if BSD::Resource module is unavailable.
authorMike Taylor <mike@indexdata.com>
Mon, 22 Sep 2014 12:55:57 +0000 (14:55 +0200)
committerMike Taylor <mike@indexdata.com>
Mon, 22 Sep 2014 12:55:57 +0000 (14:55 +0200)
test/bin/bomb.pl

index a79be99..95e7dd5 100755 (executable)
@@ -45,7 +45,7 @@ eval {
     BSD::Resource::setrlimit("RLIMIT_CPU", $timeout, 2*$timeout) or die "Cannot set CPU limit: $!\n";
 };
 if ($@) {
-    warn "Please install the package BSD::Resource!\n\n$@\n";
+    warn "WARNING: things would go more nicely with the BSD::Resource package\n";
 }