Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
jan
/
jans_shell_utils
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Actividad
Explorar el Código
wrap
main
Jan Lehnardt
hace 3 años
padre
dff8ebf05a
commit
4bd87a344c
Se han
modificado 1 ficheros
con
2 adiciones
y
1 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+2
-1
trap_error_example.sh
+ 2
- 1
trap_error_example.sh
Ver fichero
@@ -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
Escribir
Vista previa
Cargando…
Cancelar
Guardar