summaryrefslogtreecommitdiffstats
path: root/lib/Crawl/Bot/Plugin/Monster.pm
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2012-07-08 23:12:39 -0500
committerNeil Moore <neil@s-z.org>2012-07-08 23:12:39 -0500
commitee64b338fbf25ac140934e300a395664c98b78ba (patch)
tree601d0480cf21b5221a5e81a889a244f412bf124a /lib/Crawl/Bot/Plugin/Monster.pm
parentddba2facafd2a229d34f8502b08b283d2e41bb5f (diff)
downloadcrawlbot-ee64b338fbf25ac140934e300a395664c98b78ba.tar.gz
crawlbot-ee64b338fbf25ac140934e300a395664c98b78ba.zip
Whitespace fixes.
Diffstat (limited to 'lib/Crawl/Bot/Plugin/Monster.pm')
-rw-r--r--lib/Crawl/Bot/Plugin/Monster.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Crawl/Bot/Plugin/Monster.pm b/lib/Crawl/Bot/Plugin/Monster.pm
index ffa5940..445b16b 100644
--- a/lib/Crawl/Bot/Plugin/Monster.pm
+++ b/lib/Crawl/Bot/Plugin/Monster.pm
@@ -31,10 +31,9 @@ sub get_monster_info {
return "Error: Bad branch $branch\n" unless $branch =~ /^(trunk|stable)$/;
CORE::open(F, "-|") || do {
- # Collect stderr too
- close STDERR; open STDERR, '>&STDOUT';
- exec "bin/monster-$branch", $monster or die "could not execute monster-$branch: $!";
-
+ # Collect stderr too
+ close STDERR; open STDERR, '>&STDOUT';
+ exec "bin/monster-$branch", $monster or die "could not execute monster-$branch: $!";
};
binmode F, ":utf8";
local $/ = undef;