From a4730132c2528bb84f54d0000b6f1a077ea7d5ac Mon Sep 17 00:00:00 2001 From: Jan Frenzel <jan.frenzel@tu-dresden.de> Date: Mon, 22 Nov 2021 15:06:01 +0100 Subject: [PATCH] Corrected mistake in check-spelling.sh. --- doc.zih.tu-dresden.de/util/check-spelling.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc.zih.tu-dresden.de/util/check-spelling.sh b/doc.zih.tu-dresden.de/util/check-spelling.sh index b3d9bb2a4..0d574c1e6 100755 --- a/doc.zih.tu-dresden.de/util/check-spelling.sh +++ b/doc.zih.tu-dresden.de/util/check-spelling.sh @@ -34,7 +34,7 @@ function getNumberOfAspellOutputLines(){ function isWordlistSorted(){ #Unfortunately, sort depends on locale and docker does not provide much. #Therefore, it uses bytewise comparison. We avoid problems with the command tr. - if ! sed 1d "$wordlistfile" | tr [:upper:] [:lower:] | sort -C; then + if sed 1d "$wordlistfile" | tr [:upper:] [:lower:] | sort -C; then return 1 fi return 0 -- GitLab