This commit is contained in:
burningtnt 2025-06-26 19:40:28 +08:00
parent 56a31906bd
commit 449a6f1386
No known key found for this signature in database
GPG Key ID: 18A43F21F9ACE8C4

View File

@ -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)