From 08d0a1d5d824b69cc6bf45596fe921d52ff179c5 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 8 Jun 2024 01:22:21 +0100 Subject: 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(-) (limited to 'include') diff --git a/include/lib.sh b/include/lib.sh index 39d3bc99..dac8e507 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 -- cgit v1.2.1