summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
Diffstat (limited to 'src/or')
-rw-r--r--src/or/hibernate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c
index c0a750308e..d62036afb9 100644
--- a/src/or/hibernate.c
+++ b/src/or/hibernate.c
@@ -580,7 +580,7 @@ read_bandwidth_usage(void)
}
if (!state)
- return 0;
+ return -1;
/* Okay; it looks like the state file is more up-to-date than the
* bw_accounting file, or the bw_accounting file is nonexistant,