diff options
Diffstat (limited to 'node/Node.cpp')
| -rw-r--r-- | node/Node.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node/Node.cpp b/node/Node.cpp index fe3407be..23ec01de 100644 --- a/node/Node.cpp +++ b/node/Node.cpp @@ -461,6 +461,7 @@ Node::ReasonForTermination Node::run() #ifdef ZT_AUTO_UPDATE if (ZT_DEFAULTS.updateLatestNfoURL.length()) { _r->updater = new SoftwareUpdater(_r); + _r->updater->cleanOldUpdates(); // clean out updates.d on startup } else { LOG("WARNING: unable to enable software updates: latest .nfo URL from ZT_DEFAULTS is empty (does this platform actually support software updates?)"); } |
