Skip to content

Commit

Permalink
Merge 0429072 into 24b68b4
Browse files Browse the repository at this point in the history
  • Loading branch information
ahf committed Apr 25, 2019
2 parents 24b68b4 + 0429072 commit f74f7cb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
4 changes: 4 additions & 0 deletions changes/bug29930
@@ -0,0 +1,4 @@
o Minor bugfixes (UI):
- Lower log level of unlink() errors during bootstrap. Fixes bug 29930;
bugfix on 0.4.0.1-alpha.

18 changes: 9 additions & 9 deletions src/feature/nodelist/networkstatus.c
Expand Up @@ -2033,9 +2033,9 @@ networkstatus_set_current_consensus(const char *consensus,
* latest consensus. */
if (was_waiting_for_certs && from_cache)
if (unlink(unverified_fname) != 0) {
log_warn(LD_FS,
"Failed to unlink %s: %s",
unverified_fname, strerror(errno));
log_debug(LD_FS,
"Failed to unlink %s: %s",
unverified_fname, strerror(errno));
}
}
goto done;
Expand All @@ -2048,9 +2048,9 @@ networkstatus_set_current_consensus(const char *consensus,
}
if (was_waiting_for_certs && (r < -1) && from_cache) {
if (unlink(unverified_fname) != 0) {
log_warn(LD_FS,
"Failed to unlink %s: %s",
unverified_fname, strerror(errno));
log_debug(LD_FS,
"Failed to unlink %s: %s",
unverified_fname, strerror(errno));
}
}
goto done;
Expand Down Expand Up @@ -2115,9 +2115,9 @@ networkstatus_set_current_consensus(const char *consensus,
waiting->set_at = 0;
waiting->dl_failed = 0;
if (unlink(unverified_fname) != 0) {
log_warn(LD_FS,
"Failed to unlink %s: %s",
unverified_fname, strerror(errno));
log_debug(LD_FS,
"Failed to unlink %s: %s",
unverified_fname, strerror(errno));
}
}

Expand Down

0 comments on commit f74f7cb

Please sign in to comment.