Revision 12987
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/lib/sh/util.sh | ||
---|---|---|
247 | 247 |
ignore_e() { catch "$@" || true; } # also works w/ $1='' |
248 | 248 |
|
249 | 249 |
alias end_try='rethrow' |
250 |
alias end_try_subshell='rethrow' |
|
251 | 250 |
|
252 | 251 |
ignore() { save_e; ignore_e "$@"; rethrow; } # usage: try cmd || ignore status |
253 | 252 |
|
Also available in: Unified diff
lib/sh/util.sh: removed end_try_subshell, which now does the same thing as end_try