Re-enabled the options to disable the auto-updater

This commit is contained in:
Kenneth Skovhede
2017-10-30 16:11:17 +01:00
parent efc06b7210
commit d97d1c3215
@@ -1056,8 +1056,8 @@ namespace Duplicati.Library.AutoUpdater
public static int RunFromMostRecentSpawn(System.Reflection.MethodInfo method, string[] cmdargs, AutoUpdateStrategy defaultstrategy = AutoUpdateStrategy.CheckDuring)
{
// If the update is disabled, go straight in
//if (DISABLE_UPDATE_DOMAIN)
// return RunMethod(method, cmdargs);
if (DISABLE_UPDATE_DOMAIN)
return RunMethod(method, cmdargs);
// If we are not the primary entry, just execute
if (IsRunningInUpdateEnvironment)