mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-09 11:55:52 -04:00
Fix.
This commit is contained in:
parent
56a31906bd
commit
449a6f1386
@ -96,7 +96,7 @@ public final class SystemUtils {
|
||||
Lang.wrap(() -> convert.apply(inputStream)),
|
||||
Schedulers.io());
|
||||
|
||||
if (SystemUtils.waitFor(process, 15, TimeUnit.SECONDS))
|
||||
if (!SystemUtils.waitFor(process, 15, TimeUnit.SECONDS))
|
||||
throw new TimeoutException();
|
||||
|
||||
if (process.exitValue() != 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user