Revision 13348
Added by Aaron Marcuse-Kubitza over 10 years ago
util.sh | ||
---|---|---|
390 | 390 |
rethrow!() { rethrow && false; } # always errexit, even if $e = 0 |
391 | 391 |
rethrow_exit() { rethrow || exit; } # exit even where errexit disabled |
392 | 392 |
|
393 |
is_err() { rethrow; } |
|
394 |
|
|
393 | 395 |
fi # load new aliases |
394 | 396 |
if self_being_included; then |
395 | 397 |
|
Also available in: Unified diff
lib/sh/util.sh: added is_err()