Fixed multiple things in the Update procedure

This commit is contained in:
Leonardo Galli
2017-01-08 20:06:34 +01:00
parent 03cc3a1ad2
commit 906ecfb6a1
4 changed files with 6 additions and 5 deletions

View File

@@ -178,8 +178,9 @@ namespace NzbDrone.Core.Update
{
var processId = _processProvider.GetCurrentProcess().Id.ToString();
var executingApplication = _runtimeInfo.ExecutingApplication;
return string.Join(" ", processId, updateSandboxFolder.TrimEnd(Path.DirectorySeparatorChar).WrapInQuotes(), executingApplication.WrapInQuotes(), _startupContext.PreservedArguments);
var args = string.Join(" ", processId, updateSandboxFolder.TrimEnd(Path.DirectorySeparatorChar).WrapInQuotes(), executingApplication.WrapInQuotes(), _startupContext.PreservedArguments);
_logger.Info("Updater Arguments: " + args);
return args;
}
private void EnsureAppDataSafety()