summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2012-03-14 08:56:37 -0500
committerNeil Moore <neil@s-z.org>2012-03-14 08:56:37 -0500
commit332c3f7fa191779bbc86f01269c45226e8925dcf (patch)
treea2b39582419a638fcd652e459e72dd3ce2973191
parentd61e8e0c03fbda0291e9f1a1f230abf9dbacf657 (diff)
downloadcrawlbot-332c3f7fa191779bbc86f01269c45226e8925dcf.tar.gz
crawlbot-332c3f7fa191779bbc86f01269c45226e8925dcf.zip
Display errors from monster-trunk.
-rw-r--r--lib/Crawl/Bot/Plugin/Monster.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Crawl/Bot/Plugin/Monster.pm b/lib/Crawl/Bot/Plugin/Monster.pm
index 8b917fe..ee6c971 100644
--- a/lib/Crawl/Bot/Plugin/Monster.pm
+++ b/lib/Crawl/Bot/Plugin/Monster.pm
@@ -29,7 +29,7 @@ sub get_monster_info {
CORE::open(F, "-|", "bin/monster-trunk", $monster) or return undef;
local $/ = undef;
my $resp = <F>;
- CORE::close(F) or return undef;
+ CORE::close(F);
return $resp;
}