repo

List, download and sync packs with remote repositories
Log | Files | Refs

commit d9c5e6e1e01b02087fc1a6c209bcf0c857b91eb6
parent 97ca69b8babb740a48a72c13847d0e85b8c9d3be
Author: z3bra <willyatmailoodotorg>
Date:   Fri Dec 16 02:27:53 +0100

Exit with FAIL status if curl fails

Diffstat:
repo.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/repo.c b/repo.c @@ -125,7 +125,7 @@ download(char *url, FILE *fd) r = curl_easy_perform(c); if (r != CURLE_OK) { fprintf(stderr, "%s: %s\n", encurl, curl_easy_strerror(r)); - return r; + exit(1); } free(fn);