From afbbee78826bdfccbf44ea09fef44dc425082366 Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Fri, 25 Feb 2022 20:03:17 -0800 Subject: [PATCH] Updated SC2144 (markdown) --- SC2144.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SC2144.md b/SC2144.md index d48231d..17f3217 100644 --- a/SC2144.md +++ b/SC2144.md @@ -55,7 +55,7 @@ You may still want to consider making this assumption explicit and failing fast ``` files=( dir/file* ) -[ "${#files[@]}" -ge 2 ] || exit 1 +[ "${#files[@]}" -ge 2 ] && exit 1 if [ -e "${files[0]}" ] then echo "The file exists"