Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
jan
/
jans_shell_utils
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Pull requests
0
Versões
0
Atividade
Ver código fonte
wrap
main
Jan Lehnardt
1 ano atrás
pai
dff8ebf05a
commit
4bd87a344c
1 arquivos alterados
com
2 adições
e
1 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+2
-1
trap_error_example.sh
+ 2
- 1
trap_error_example.sh
Ver arquivo
@@ -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
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar