Skip to content
Snippets Groups Projects
Commit 01331db1 authored by Leah Rowe's avatar Leah Rowe
Browse files

lib.sh: more verbose error in x_


part of the command was cut off in the output

Signed-off-by: default avatarLeah Rowe <info@minifree.org>
parent c0ce9121
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,8 @@ expr "X$XBMK_THREADS" : "X-\{0,1\}[0123456789][0123456789]*$" \
1>/dev/null 2>/dev/null || export XBMK_THREADS=1 # user gave a non-integer
x_() {
[ $# -lt 1 ] || $@ || $err "Unhandled non-zero exit: $@"; return 0
[ $# -lt 1 ] || $@ || \
$err "Unhandled non-zero exit: $(echo "$@")"; return 0
}
[ -e ".git" ] || [ -f "version" ] || printf "unknown\n" > version || \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment