SUPPORT-8771:fix
This commit is contained in:
parent
d263982be1
commit
7e70b860cb
1 changed files with 0 additions and 1 deletions
|
|
@ -56,7 +56,6 @@ public class FileScanService {
|
||||||
Process process = processBuilder.start();
|
Process process = processBuilder.start();
|
||||||
try (InputStream inputStream = process.getInputStream()) {
|
try (InputStream inputStream = process.getInputStream()) {
|
||||||
String result = new String(inputStream.readAllBytes());
|
String result = new String(inputStream.readAllBytes());
|
||||||
process.waitFor();
|
|
||||||
int exitCode = process.waitFor();
|
int exitCode = process.waitFor();
|
||||||
if (exitCode != 0 && exitCode != 72) {
|
if (exitCode != 0 && exitCode != 72) {
|
||||||
throw new AvException("Ошибка KESL, код завершения: " + exitCode);
|
throw new AvException("Ошибка KESL, код завершения: " + exitCode);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue