Merge branch 'RP-Exitvalue' into 'master'

Remove redundant value assignments

See merge request sheepitrenderfarm/client!257
This commit is contained in:
Sheepit Renderfarm
2023-10-19 11:51:58 +00:00

View File

@@ -154,14 +154,12 @@ import oshi.software.os.OSProcess;
}
catch (IllegalThreadStateException e) {
// the process is not finished yet
value = 0;
}
catch (Exception e) {
// actually is for java.io.IOException: GetExitCodeProcess error=6, The handle is invalid
// it was not declared throwable
// the process is not finished yet
value = 0;
}
return value;
}