aboutsummaryrefslogtreecommitdiff
path: root/Assistant.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-11-24 13:20:58 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-11-24 13:20:58 -0400
commit42b427f6fc711254ac9ff1f047568f3584a406f7 (patch)
treecb464fe3207a87f36d00892558659b1322dca913 /Assistant.hs
parent3a1ba10f775df8bf742a10cf8c8a8672b63f78b8 (diff)
add support for fully automatic upgrades
The Upgrader avoids checking for upgrades on startup when it was just upgraded. This avoids an upgrade loop if something goes wrong. One example of something going wrong would be if the upgrade info file and the distribution file get out of sync (or the distribution file is cached in a proxy), so it thinks it has upgraded to a new version, but has really not.
Diffstat (limited to 'Assistant.hs')
-rw-r--r--Assistant.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Assistant.hs b/Assistant.hs
index 6b6b98ebc..d4786f99a 100644
--- a/Assistant.hs
+++ b/Assistant.hs
@@ -153,7 +153,7 @@ startDaemon assistant foreground startdelay cannotrun listenhost startbrowser =
#endif
, assist $ netWatcherThread
, assist $ upgraderThread urlrenderer
- , assist $ upgradWatcherThread urlrenderer
+ , assist $ upgradeWatcherThread urlrenderer
, assist $ netWatcherFallbackThread
, assist $ transferScannerThread urlrenderer
, assist $ cronnerThread urlrenderer