diff options
author | Neil Moore <neil@s-z.org> | 2012-03-14 08:56:37 -0500 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2012-03-14 08:56:37 -0500 |
commit | 332c3f7fa191779bbc86f01269c45226e8925dcf (patch) | |
tree | a2b39582419a638fcd652e459e72dd3ce2973191 | |
parent | d61e8e0c03fbda0291e9f1a1f230abf9dbacf657 (diff) | |
download | crawlbot-332c3f7fa191779bbc86f01269c45226e8925dcf.tar.gz crawlbot-332c3f7fa191779bbc86f01269c45226e8925dcf.zip |
Display errors from monster-trunk.
-rw-r--r-- | lib/Crawl/Bot/Plugin/Monster.pm | 2 |
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; } |