We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0a7dbc commit ffaf054Copy full SHA for ffaf054
lib/utils.sh
@@ -189,16 +189,7 @@ _omb_util_command_exists _omb_log_note ||
189
_omb_util_command_exists _omb_log_info ||
190
_omb_log_info() { printf "INFO: %s\n" "$1"; }
191
_omb_util_command_exists _omb_log_die ||
192
- _omb_log_die() {
193
- local status=$1
194
- case $status in
195
- 1) printf 'FATAL: %s\n' "$2"
196
- exit "$status" ;;
197
- *) printf 'FATAL: Syntax error%s\n%s\n' "${FUNCNAME:+ in $FUNCNAME}" "$2"
198
- ((status)) && printf 'FATAL: %s\n' "$status"
199
- return "$status" ;;
200
- esac
201
- }
+ _omb_log_die() { printf 'FATAL: %s\n' "$2"; exit "$1"; }
202
203
#
204
# USAGE FOR SEEKING CONFIRMATION
0 commit comments