Project

General

Profile

« Previous | Next » 

Revision 8977

lib/util.sh: exceptions: end_try* aliases: use new rethrow*

View differences:

util.sh
42 42

  
43 43
ignore () { catch "$@" || true; }
44 44

  
45
alias end_try='return "$e"'
46
alias end_try_subshell='exit "$e"'
45
alias end_try='rethrow'
46
alias end_try_subshell='rethrow_subshell'
47 47

  
48 48
#### integers
49 49

  

Also available in: Unified diff