diff options
author | Leah Rowe <leah@libreboot.org> | 2023-10-02 04:57:51 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-10-02 04:57:51 +0100 |
commit | d38b958d7a622588a6f1ee54b051f5998f7c4835 (patch) | |
tree | 75dd4c2708dfd3862decc2f94f042fdbf3d07337 /include/err.sh | |
parent | 8886f9958f563862337795b22c768bb29a328e23 (diff) |
include/err x_(): more verbose error message
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/err.sh')
-rwxr-xr-x | include/err.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/err.sh b/include/err.sh index 1908a965..10e5db9b 100755 --- a/include/err.sh +++ b/include/err.sh @@ -2,10 +2,10 @@ # SPDX-FileCopyrightText: 2022, 2023 Leah Rowe <leah@libreboot.org> x_() { - [ $# -lt 1 ] || ${@} || err "${@}" + [ $# -lt 1 ] || ${@} || err "non-zero exit status: ${@}" } xx_() { - [ $# -lt 1 ] || ${@} || fail "${@}" + [ $# -lt 1 ] || ${@} || fail "non-zero exit status: ${@}" } setvars() |