This website works better with JavaScript.
Начало
Каталог
Помощ
Вход
jan
/
jans_shell_utils
Наблюдаван
1
Харесван
0
Разклонения
0
Код
Задачи
0
Заявки за сливане
0
Версии
0
Activity
Преглед на файлове
wrap
main
Jan Lehnardt
преди 3 години
родител
dff8ebf05a
ревизия
4bd87a344c
променени са
1 файла
, в които са
добавени 2
реда и са
изтрити 1
реда
Разделен изглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
trap_error_example.sh
+ 2
- 1
trap_error_example.sh
Целия файл
@@ -1,4 +1,5 @@
# if you run a script with -e that produces state that you want to clean up if anything goes wrong in your script, this helps:
# if you run a script with -e that produces state that you want to clean up if
# anything goes wrong in your script, this helps:
trap 'handle_error' ERR
Write
Preview
Loading…
Отказ
Запис