mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
fixed a possible bad bug in linux builder
This commit is contained in:
parent
bbc6af247b
commit
c5e36a4e3c
Binary file not shown.
@ -117,10 +117,10 @@ public override string BuildModule(Module module)
|
||||
info.RedirectStandardOutput = true;
|
||||
|
||||
p = Process.Start(info);
|
||||
string output = p.StandardOutput.ReadToEnd();
|
||||
p.WaitForExit();
|
||||
p.Close();
|
||||
|
||||
string output = p.StandardOutput.ReadToEnd();
|
||||
if (output.IndexOf("Handle:") == -1)
|
||||
return null;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user