Fixed the auto-updater check

This commit is contained in:
Kenneth Skovhede
2014-07-02 15:02:40 +02:00
parent 60d67638c6
commit 2bad7b01cb
+1 -1
View File
@@ -91,7 +91,7 @@ namespace Duplicati.Server
while (!m_terminated)
{
var nextCheck = Program.DataConnection.ApplicationSettings.NextUpdateCheck;
if (nextCheck > DateTime.UtcNow || m_forceCheck)
if (nextCheck < DateTime.UtcNow || m_forceCheck)
{
lock(m_lock)
m_forceCheck = false;