hostlist: fix flushing.
This commit is contained in:
parent
c0e4c169ba
commit
9388256e48
@ -303,6 +303,8 @@ HostList.prototype.flush = co(function* flush() {
|
||||
if (!this.needsFlush)
|
||||
return;
|
||||
|
||||
this.needsFlush = false;
|
||||
|
||||
this.logger.debug('Writing hosts to %s.', filename);
|
||||
|
||||
json = this.toJSON();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user