From: Vincent Pit Date: Thu, 16 Dec 2010 00:29:14 +0000 (+0100) Subject: Abort completely when emerge --info can't be run X-Git-Tag: v0.11~5 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=dab21dec11c818393745b37e322df5797e1500cb;p=perl%2Fmodules%2FCPANPLUS-Dist-Gentoo.git Abort completely when emerge --info can't be run --- diff --git a/lib/CPANPLUS/Dist/Gentoo.pm b/lib/CPANPLUS/Dist/Gentoo.pm index 474dce6..8f299f0 100644 --- a/lib/CPANPLUS/Dist/Gentoo.pm +++ b/lib/CPANPLUS/Dist/Gentoo.pm @@ -160,6 +160,7 @@ sub format_available { } } else { __PACKAGE__->_abort($errmsg); + return $format_available = 0; } }