mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 09:07:25 +08:00
Fix regression in deployment tool
This commit is contained in:
parent
2fc72b370d
commit
577601a90f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user