mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
note a bug that wmf just found
svn:r3503
This commit is contained in:
parent
c1656f41b4
commit
f575d29a59
@ -411,6 +411,9 @@ accounting_run_housekeeping(time_t now)
|
||||
if (time_to_record_bandwidth_usage(now)) {
|
||||
if (accounting_record_bandwidth_usage(now)) {
|
||||
log_fn(LOG_ERR, "Couldn't record bandwidth usage; exiting.");
|
||||
/* XXX this can fail when you're out of fd's, causing a crash.
|
||||
* Perhaps the better answer is to hold the file open all the
|
||||
* time? */
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user