Skip to content

Commit

Permalink
Fix regression in deployment tool
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Mar 7, 2017
1 parent 2fc72b3 commit 577601a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion osu.Desktop.Deploy/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -342,10 +342,12 @@ private static bool runCommand(string command, string args)
};

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;
Expand Down

0 comments on commit 577601a

Please sign in to comment.