Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Tutki
Apua
Kirjaudu sisään
jan
/
jans_shell_utils
Tarkkaile
1
Äänestä
0
Fork
0
Koodi
Ongelmat
0
Pull-pyynnöt
0
Julkaisut
0
Activity
Selaa lähdekoodia
wrap
main
Jan Lehnardt
3 vuotta sitten
vanhempi
dff8ebf05a
commit
4bd87a344c
1 muutettua tiedostoa
jossa
2 lisäystä
ja
1 poistoa
Jaettu näkymä
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
trap_error_example.sh
+ 2
- 1
trap_error_example.sh
Näytä tiedosto
@@ -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…
Peruuta
Tallenna