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. |
||
|---|---|---|
| .. | ||
| build_debian_packages | ||
| check-newsfragment | ||
| check_line_terminators.sh | ||
| check_signature.py | ||
| config-lint.sh | ||
| convert_server_keys.py | ||
| database-save.sh | ||
| definitions.py | ||
| dump_macaroon.py | ||
| federation_client.py | ||
| generate_sample_config | ||
| hash_history.py | ||
| lint.sh | ||
| list_url_patterns.py | ||
| make_full_schema.sh | ||
| next_github_number.sh | ||
| sphinx_api_docs.sh | ||
| tail-synapse.py | ||
| update_database | ||