summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/DlgUpdate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/PluginUpdater/src/DlgUpdate.cpp')
-rw-r--r--plugins/PluginUpdater/src/DlgUpdate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/PluginUpdater/src/DlgUpdate.cpp b/plugins/PluginUpdater/src/DlgUpdate.cpp
index 8c2ff2bd45..197987898b 100644
--- a/plugins/PluginUpdater/src/DlgUpdate.cpp
+++ b/plugins/PluginUpdater/src/DlgUpdate.cpp
@@ -142,7 +142,7 @@ LBL_Exit:
opts.bForceRedownload = false;
db_unset(NULL, MODNAME, "ForceRedownload");
- db_set_b(NULL, MODNAME, "RestartCount", 2);
+ db_set_b(NULL, MODNAME, "RestartCount", 5);
CallFunctionAsync(RestartMe, 0);
goto LBL_Exit;
}
@@ -560,7 +560,7 @@ static void CheckUpdates(void *)
}
else CallFunctionAsync(LaunchDialog, UpdateFiles);
}
- InitTimer(success);
+ InitTimer(success ? 0 : 2);
hashes.destroy();
hCheckThread = NULL;