repo

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

commit 1966d66302e577e563df9b2402ccc5803e3729b4
parent acd2ded6f787d04551b3a00ed601d57cc136a900
Author: z3bra <contactatz3bradotorg>
Date:   Fri Dec 16 11:39:21 +0100

Meaningful error message for wrong file format

Diffstat:
repo.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/repo.c b/repo.c @@ -88,7 +88,7 @@ repolist(struct packs *plist, char *local) while (fgets(buf, LINE_MAX, list)) { r = sscanf(buf, "%s\t%s\t%s", n, v, u); if (r < 3) { - perror(fn); + fprintf(stderr, "%s: Invalid format detected\n", fn); exit(1); } addpack(plist, n, v, u);