summary refs log tree commit diff
path: root/changelog.d/7970.misc
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-07-28 13:52:25 +0100
committerGitHub <noreply@github.com>2020-07-28 08:52:25 -0400
commit8078dec3be29f849f730fdd91a83fd2b1f89726e (patch)
tree8ee324a83c1f15c6f56105e4ee930baacbdd2e95 /changelog.d/7970.misc
parentOption to allow server admins to join complex rooms (#7902) (diff)
downloadsynapse-8078dec3be29f849f730fdd91a83fd2b1f89726e.tar.xz
Fix exit code for `check_line_terminators.sh` (#7970)
If there are *no* files with CRLF line endings, then the xargs exits with a
non-zero exit code (as expected), but then, since that is the last thing to
happen in the script, the script as a whole exits non-zero, making the whole
thing fail.

using `if/then/fi` instead of `&& (...)` means that the script exits with a
zero exit code.
Diffstat (limited to 'changelog.d/7970.misc')
-rw-r--r--changelog.d/7970.misc1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/7970.misc b/changelog.d/7970.misc
new file mode 100644
index 0000000000..ee9f1a7114
--- /dev/null
+++ b/changelog.d/7970.misc
@@ -0,0 +1 @@
+Add a script to detect source code files using non-unix line terminators.
\ No newline at end of file