diff options
Diffstat (limited to 'lib/Iurt/Config.pm')
-rw-r--r-- | lib/Iurt/Config.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Iurt/Config.pm b/lib/Iurt/Config.pm index c8250f8..9a4ed8b 100644 --- a/lib/Iurt/Config.pm +++ b/lib/Iurt/Config.pm @@ -128,6 +128,9 @@ sub get_maint { return $run->{maint}{$srpm}, $srpm_name; } my $maint = `GET 'http://maintdb.mageia.org/$srpm_name'`; + if ($?) { + return 'NOT_FOUND'; + } chomp $maint; $run->{maint}{$srpm} = $maint; $maint, $srpm_name; |