1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Fix regression in deployment tool

This commit is contained in:
Dean Herbert 2017-03-07 14:57:49 +09:00
parent 2fc72b370d
commit 577601a90f
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

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