Strona działa najlepiej z włączonym JavaScript.
Strona główna
Odkrywaj
Pomoc
Zaloguj się
jan
/
jans_shell_utils
Obserwuj
1
Polub
0
Forkuj
0
Kod
Zgłoszenia
0
Oczekujące zmiany
0
Wydania
0
Aktywność
Przeglądaj źródła
wrap
main
Jan Lehnardt
3 lat temu
rodzic
dff8ebf05a
commit
4bd87a344c
1 zmienionych plików
z
2 dodań
i
1 usunięć
Widok podzielony
Opcje porównania
Pokaż statystyki
Ściągnij plik aktualizacji
Ściągnij plik porównania
+2
-1
trap_error_example.sh
+ 2
- 1
trap_error_example.sh
Wyświetl plik
@@ -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
Napisz
Podgląd
Ładowanie…
Anuluj
Zapisz