From 4310c291f68407402953d82367311009cde5dc77 Mon Sep 17 00:00:00 2001 From: James Murty Date: Thu, 26 Oct 2023 01:28:04 +1100 Subject: [PATCH] Fix formatting --- transcrypt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/transcrypt b/transcrypt index ca3e2a6..4ff9863 100755 --- a/transcrypt +++ b/transcrypt @@ -180,9 +180,8 @@ _list_encrypted_files() { # Only output names of encrypted files matching the context, either # strictly (if $1 = "true") or loosely (if $1 is false or unset) - if [[ "$strict_context" == "true" ]] && \ - [[ "$check" == *": filter: crypt${CONTEXT_CRYPT_SUFFIX:-}" ]] - then + if [[ "$strict_context" == "true" ]] && + [[ "$check" == *": filter: crypt${CONTEXT_CRYPT_SUFFIX:-}" ]]; then echo "$file" elif [[ "$check" == *": filter: crypt${CONTEXT_CRYPT_SUFFIX:-}"* ]]; then echo "$file"