From: Michael Tremer Date: Tue, 21 Sep 2021 16:31:53 +0000 (+0000) Subject: file: Return 0 when the cleanup job is done X-Git-Tag: 0.9.28~945 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a942166c0a5c2eb00a742f02b3f515e349c48236;p=pakfire.git file: Return 0 when the cleanup job is done r contains the number of characters written to the string which is not what we want to return. Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/file.c b/src/libpakfire/file.c index f6e6a75b1..76430db33 100644 --- a/src/libpakfire/file.c +++ b/src/libpakfire/file.c @@ -332,5 +332,5 @@ int pakfire_file_cleanup(struct pakfire_file* file) { } } - return r; + return 0; }