include/err x_(): more verbose error message
Signed-off-by: Leah Rowe <leah@libreboot.org>btrfsvols
parent
8886f9958f
commit
d38b958d7a
|
@ -2,10 +2,10 @@
|
||||||
# SPDX-FileCopyrightText: 2022, 2023 Leah Rowe <leah@libreboot.org>
|
# SPDX-FileCopyrightText: 2022, 2023 Leah Rowe <leah@libreboot.org>
|
||||||
|
|
||||||
x_() {
|
x_() {
|
||||||
[ $# -lt 1 ] || ${@} || err "${@}"
|
[ $# -lt 1 ] || ${@} || err "non-zero exit status: ${@}"
|
||||||
}
|
}
|
||||||
xx_() {
|
xx_() {
|
||||||
[ $# -lt 1 ] || ${@} || fail "${@}"
|
[ $# -lt 1 ] || ${@} || fail "non-zero exit status: ${@}"
|
||||||
}
|
}
|
||||||
|
|
||||||
setvars()
|
setvars()
|
||||||
|
|
Loading…
Reference in New Issue