xbps-uhelper: fix 'fetch' target exiting with error value.
This commit is contained in:
parent
9fa2804763
commit
11ca929985
@ -371,11 +371,11 @@ main(int argc, char **argv)
|
|||||||
if (rv == -1) {
|
if (rv == -1) {
|
||||||
printf("%s: %s\n", argv[1],
|
printf("%s: %s\n", argv[1],
|
||||||
xbps_fetch_error_string());
|
xbps_fetch_error_string());
|
||||||
goto out;
|
|
||||||
} else if (rv == 0) {
|
} else if (rv == 0) {
|
||||||
printf("%s: file is identical than remote.\n",
|
printf("%s: file is identical than remote.\n",
|
||||||
argv[1]);
|
argv[1]);
|
||||||
}
|
} else
|
||||||
|
rv = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user