Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
Aide
Connexion
jan
/
jans_shell_utils
Suivre
1
Ajouter aux favoris
0
Bifurcation
0
Code
Tickets
0
Demandes d'ajout
0
Versions
0
Activité
Parcourir la source
wrap
main
Jan Lehnardt
il y a 1 an
Parent
dff8ebf05a
révision
4bd87a344c
1 fichiers modifiés
avec
2 ajouts
et
1 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+2
-1
trap_error_example.sh
+ 2
- 1
trap_error_example.sh
Voir le fichier
@@ -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
Écrire
Aperçu
Chargement…
Annuler
Enregistrer