From d38b958d7a622588a6f1ee54b051f5998f7c4835 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 2 Oct 2023 04:57:51 +0100 Subject: include/err x_(): more verbose error message Signed-off-by: Leah Rowe --- include/err.sh | 4 ++-- 1 file 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 x_() { - [ $# -lt 1 ] || ${@} || err "${@}" + [ $# -lt 1 ] || ${@} || err "non-zero exit status: ${@}" } xx_() { - [ $# -lt 1 ] || ${@} || fail "${@}" + [ $# -lt 1 ] || ${@} || fail "non-zero exit status: ${@}" } setvars() -- cgit v1.2.1