S JavaScriptem funguje tato webová stránka lépe.
Domů
Procházet
Nápověda
Přihlásit se
jan
/
jans_shell_utils
Sledovat
1
Oblíbit
0
Rozštěpit
0
Zdrojový kód
Úkoly
0
Požadavky na natažení
0
Vydání
0
Aktivita
Procházet zdrojové kódy
wrap
main
Jan Lehnardt
před 1 rokem
rodič
dff8ebf05a
revize
4bd87a344c
1 změnil soubory
, kde provedl
2 přidání
a
1 odebrání
Rozdělené zobrazení
Diff Options
Zobrazit statistiky
Download Patch File
Stáhněte rozdílový soubor
+2
-1
trap_error_example.sh
+ 2
- 1
trap_error_example.sh
Zobrazit soubor
@@ -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
Zapsat
Náhled
Načítá se…
Zrušit
Uložit