frostfs-dev-env/bin/helper.sh
Evgenii Stratonikov b725905b39 [#185] bin: Print human-readable errors
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-07-07 18:07:13 +03:00

6 lines
66 B
Bash

set -eo pipefail
die() {
echo "$(caller 0):" "$*" >&2
exit 1
}