-/* $OpenBSD: repo.c,v 1.30 2022/02/02 15:13:00 claudio Exp $ */
+/* $OpenBSD: repo.c,v 1.31 2022/02/14 14:47:49 job Exp $ */
/*
* Copyright (c) 2021 Claudio Jeker <claudio@openbsd.org>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
tr->state = REPO_DONE;
repo_done(tr, 1);
} else {
- logx("ta/%s: load from network failed", tr->descr);
+ warnx("ta/%s: load from network failed", tr->descr);
stats.rsync_fails++;
tr->uriidx++;
ta_fetch(tr);
stats.rsync_repos++;
rr->state = REPO_DONE;
} else {
- logx("%s: load from network failed, fallback to cache",
+ warnx("%s: load from network failed, fallback to cache",
rr->basedir);
stats.rsync_fails++;
rr->state = REPO_FAILED;
stats.rrdp_repos++;
rr->state = REPO_DONE;
} else {
- logx("%s: load from network failed, fallback to rsync",
+ warnx("%s: load from network failed, fallback to rsync",
rr->notifyuri);
stats.rrdp_fails++;
rr->state = REPO_FAILED;
warn("unlink %s", tr->temp);
tr->uriidx++;
- logx("ta/%s: load from network failed", tr->descr);
+ warnx("ta/%s: load from network failed", tr->descr);
ta_fetch(tr);
}
}