Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
jan
/
jans_shell_utils
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Attività
Sfoglia il codice sorgente
wrap
main
Jan Lehnardt
1 anno fa
parent
dff8ebf05a
commit
4bd87a344c
1 ha cambiato i file
con
2 aggiunte
e
1 eliminazioni
Visualizzazione separata
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
trap_error_example.sh
+ 2
- 1
trap_error_example.sh
Vedi File
@@ -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…
Annulla
Salva