]> git.pld-linux.org Git - projects/distfiles.git/commitdiff
- more human-readable error reporting by md5()
authorsiefca <siefca@pld-linux.org>
Mon, 23 Feb 2004 23:33:09 +0000 (23:33 +0000)
committercvs2git <feedback@pld-linux.org>
Thu, 29 Nov 2012 22:58:15 +0000 (22:58 +0000)
Changed files:
    file-fetcher.pl -> 1.35

file-fetcher.pl

index ea8d9bcdd15473c5ab9e19772a2216ec12ffe7b3..b0f266d51ff95160c0cc163626ba6ce75ec62783 100644 (file)
@@ -175,7 +175,8 @@ sub md5($)
   run \@cmd, \$in, \$md5, \$err;
   if ($err ne "") {
     chomp($err);
-    $problems .= "       [debug]: " . $err . "\n";
+    $problems .= "FATAL: " . $err . "\n";
+    return "error";
   }
   chomp $md5;
   $md5 =~ /^([a-f0-9]{32})/ and $md5 = $1;
This page took 0.641985 seconds and 4 git commands to generate.