lib.sh: shorten a string in e()

line exceeds 80 characters

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit2-merge1
Leah Rowe 2024-06-08 01:22:21 +01:00 committed by Leah Rowe
parent a29cf274bc
commit b8e9eab0ba
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ e()
[ $# -gt 1 ] && es_t="$2"
es2="already exists"
estr="[ -$es_t \"\$1\" ] || return 1"
[ $# -gt 2 ] && estr="[ -$es_t \"\$1\" ] && return 1" && es2="not found"
[ $# -gt 2 ] && estr="[ -$es_t \"\$1\" ] && return 1" && es2="missing"
eval "$estr"
printf "%s %s\n" "$1" "$es2" 1>&2