From b8e9eab0baad8628326244f5b8df002a6164f5d5 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 8 Jun 2024 01:22:21 +0100 Subject: [PATCH] lib.sh: shorten a string in e() line exceeds 80 characters Signed-off-by: Leah Rowe --- include/lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/lib.sh b/include/lib.sh index 39d3bc9..dac8e50 100755 --- a/include/lib.sh +++ b/include/lib.sh @@ -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