From 11ca9299857b77606d46369a30478db29abf88c2 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 24 Dec 2011 16:56:45 +0100 Subject: [PATCH] xbps-uhelper: fix 'fetch' target exiting with error value. --- bin/xbps-uhelper/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/xbps-uhelper/main.c b/bin/xbps-uhelper/main.c index 72a87da9..6dcd1fdd 100644 --- a/bin/xbps-uhelper/main.c +++ b/bin/xbps-uhelper/main.c @@ -371,11 +371,11 @@ main(int argc, char **argv) if (rv == -1) { printf("%s: %s\n", argv[1], xbps_fetch_error_string()); - goto out; } else if (rv == 0) { printf("%s: file is identical than remote.\n", argv[1]); - } + } else + rv = 0; } } else {