From 332c3f7fa191779bbc86f01269c45226e8925dcf Mon Sep 17 00:00:00 2001 From: Neil Moore Date: Wed, 14 Mar 2012 08:56:37 -0500 Subject: Display errors from monster-trunk. --- lib/Crawl/Bot/Plugin/Monster.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ; - CORE::close(F) or return undef; + CORE::close(F); return $resp; } -- cgit v1.2.3-54-g00ecf