]> git.ipfire.org Git - pakfire.git/commitdiff
hasher: Actually return any errors
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 4 Feb 2025 14:22:27 +0000 (14:22 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 4 Feb 2025 14:22:27 +0000 (14:22 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/hasher.c

index c08c26c97a6b745e7179b18970f0b2bff88882a9..e2c6d5f7b31a9a67b46fe1cd4acae298b220a420 100644 (file)
@@ -354,7 +354,7 @@ ERROR:
        if (hasher)
                pakfire_hasher_unref(hasher);
 
-       return 0;
+       return r;
 }
 
 int pakfire_hash_path(struct pakfire_ctx* ctx,