Skip to content

Commit 17be79c

Browse files
committed
В случае ошибок возвращается код 1
1 parent 270f3d5 commit 17be79c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/cmd/opm.os

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,14 @@
5252

5353
ВыполнитьПриложение();
5454

55+
ВременныеФайлы.Удалить();
56+
57+
ЗавершитьРаботу(0);
58+
5559
Исключение
5660
Сообщить(ОписаниеОшибки());
57-
КонецПопытки;
5861

59-
ВременныеФайлы.Удалить();
62+
ВременныеФайлы.Удалить();
63+
64+
ЗавершитьРаботу(1);
65+
КонецПопытки;

0 commit comments

Comments
 (0)