Browse files

suppress warnings for CHECKSUMS

  • Loading branch information...
1 parent 3391d27 commit bb78638bc7b5f4c89e25692150431ecf8535a224 @miyagawa committed Jan 30, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/App/cpanminus/script.pm
View
1 lib/App/cpanminus/script.pm
@@ -1086,6 +1086,7 @@ sub verify_checksums_signature {
$self->chat("Verifying the signature of CHECKSUMS\n");
my $rv = eval {
+ local $SIG{__WARN__} = sub {}; # suppress warnings
my $v = Module::Signature::_verify($chk_file);
$v == Module::Signature::SIGNATURE_OK();
};

0 comments on commit bb78638

Please sign in to comment.