diff options
author | Christian Hesse <mail@eworm.de> | 2013-11-15 09:10:31 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-11-15 09:10:31 +0100 |
commit | 9ce014591ffd9a8170866e0081bf5022b65aba9b (patch) | |
tree | 8da10aab3e49a39b66167a56567936795f15fb9d | |
parent | 709abe18e5c20b24654b177f6543cfe95ed1ac4d (diff) | |
download | paccache-9ce014591ffd9a8170866e0081bf5022b65aba9b.tar.gz paccache-9ce014591ffd9a8170866e0081bf5022b65aba9b.tar.zst |
reset badcount on SIGHUP
-rw-r--r-- | pacredir.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -443,7 +443,9 @@ void sighup_callback(int signal) { while (tmphosts->host != NULL) { tmphosts->pacserve.bad = 0; + tmphosts->pacserve.badcount = 0; tmphosts->pacdbserve.bad = 0; + tmphosts->pacdbserve.badcount = 0; tmphosts = tmphosts->next; } } |