Fix regression in deployment tool

This commit is contained in:
Dean Herbert
2017-03-07 14:57:49 +09:00
parent 2fc72b370d
commit 577601a90f

View File

@ -342,10 +342,12 @@ namespace osu.Desktop.Deploy
}; };
Process p = Process.Start(psi); Process p = Process.Start(psi);
if (p == null || p.ExitCode == 0) return true; if (p == null) return false;
string output = p.StandardOutput.ReadToEnd(); string output = p.StandardOutput.ReadToEnd();
if (p.ExitCode == 0) return true;
write(output); write(output);
error($"Command {command} {args} failed!"); error($"Command {command} {args} failed!");
return false; return false;