summaryrefslogtreecommitdiff
path: root/src/validate.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-06 18:39:20 +0100
committerdavidovski <david@davidovski.xyz>2022-06-06 18:39:20 +0100
commitdd8004ccbf58b546f48205d2878d9101bbfcaadc (patch)
tree7864c5224a4728a37f858f3703e05286bb6a2687 /src/validate.sh
parenta8c14970881292501f40c3cf1f5c36b71525fee0 (diff)
fixed sort to be faster
Diffstat (limited to 'src/validate.sh')
-rw-r--r--src/validate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validate.sh b/src/validate.sh
index 6b64616..46f6629 100644
--- a/src/validate.sh
+++ b/src/validate.sh
@@ -70,7 +70,7 @@ validate_files () {
${VERBOSE} && printf "${GREEN}%s is present\n" $file
else
ret=$((ret+1))
- ${QUIET} || printf "${RED}%s is missing\n" $file
+ ${QUIET} && printf "%s\n" $file || printf "${RED}%s is missing\n" $file
fi
done
${QUIET} || printf "${RESET}"