Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed not CPAN module problem (reported by gfx++)

  • Loading branch information...
commit f53ffeba993b38b4727d8f05e726951192f8814d 1 parent b905dd8
@xaicron authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/App/pmuninstall.pm
View
3  lib/App/pmuninstall.pm
@@ -357,7 +357,8 @@ sub fetch {
my ($self, $url) = @_;
$self->puts("-> Getting from $url") if $self->{verbose};
my $res = HTTP::Tiny->new->get($url);
- die "[$res->{status}] fetch $url failed!!\n" if !$res->{success} && $res->{status} != 404;
+ return if $res->{status} == 404;
+ die "[$res->{status}] fetch $url failed!!\n" if !$res->{success};
return $res->{content};
}
Please sign in to comment.
Something went wrong with that request. Please try again.