Revision 14910
Added by Aaron Marcuse-Kubitza about 10 years ago
trunk/lib/sh/util.sh | ||
---|---|---|
567 | 567 |
|
568 | 568 |
sig_e() { echo $(( 128+$(sig_num "$1") )); } # usage: sig_e SIG__ |
569 | 569 |
|
570 |
errexit_sig() { errexit "$(sig_e "$1")"; } |
|
571 |
|
|
570 | 572 |
func_override catch__exceptions |
571 | 573 |
catch() # supports SIG* as exception type |
572 | 574 |
{ |
Also available in: Unified diff
lib/sh/util.sh: added errexit_sig()