Revision 9111
Added by Aaron Marcuse-Kubitza almost 12 years ago
lib/sh/util.sh | ||
---|---|---|
142 | 142 |
# `|| return` needed on Mac because of bug where -e doesn't apply to() |
143 | 143 |
stdout2stderr() { exec >&2; } |
144 | 144 |
|
145 |
usage() { echo "Usage: $1" >&2; (exit 2); }
|
|
145 |
usage() { echo "Usage: $1" >&2; return 2; }
|
|
146 | 146 |
|
147 | 147 |
|
148 | 148 |
### logging |
Also available in: Unified diff
lib/sh/util.sh: usage(): use `return` instead of `(exit ...)`