diff options
author | Leah Rowe <leah@libreboot.org> | 2024-06-08 01:22:21 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-06-08 01:22:21 +0100 |
commit | 08d0a1d5d824b69cc6bf45596fe921d52ff179c5 (patch) | |
tree | 2428c362c787bfc097b426fc4b57c20a34cb7f91 /include | |
parent | 9b00b30a4f6e6d46b5265b22b31af889bdc39353 (diff) |
lib.sh: shorten a string in e()
line exceeds 80 characters
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include')
-rwxr-xr-x | include/lib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |