summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-10-02 04:57:51 +0100
committerLeah Rowe <leah@libreboot.org>2023-10-02 04:57:51 +0100
commitd38b958d7a622588a6f1ee54b051f5998f7c4835 (patch)
tree75dd4c2708dfd3862decc2f94f042fdbf3d07337
parent8886f9958f563862337795b22c768bb29a328e23 (diff)
include/err x_(): more verbose error message
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xinclude/err.sh4
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()