Revision 9536
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/util.sh | ||
---|---|---|
129 | 129 |
alias end_try='rethrow' |
130 | 130 |
alias end_try_subshell='rethrow_subshell' |
131 | 131 |
|
132 |
ignore() { save_e; ignore_e "$@"; rethrow; } # usage: try cmd || ignore status |
|
133 |
|
|
132 | 134 |
fi # load new aliases |
133 | 135 |
if self_being_included; then |
134 | 136 |
|
Also available in: Unified diff
lib/sh/util.sh: added ignore(), which uses ||-syntax