summaryrefslogtreecommitdiffstats
path: root/docs/CODING_STYLE.md
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-10-11 10:41:49 +0200
committerLennart Poettering <lennart@poettering.net>2023-10-11 11:41:56 +0200
commitce4801c42b7ca0bedd57c2d76bc6e2658fe15060 (patch)
tree46c29df5b5489a30a8f9dc1d078251b49f59d8fb /docs/CODING_STYLE.md
parentdocs: clarify difference between kernel stub and sd-stub in UEFI doc (diff)
downloadsystemd-ce4801c42b7ca0bedd57c2d76bc6e2658fe15060.tar.xz
systemd-ce4801c42b7ca0bedd57c2d76bc6e2658fe15060.zip
doc: readd vanished ```
This disappeared in 1e8f5f79e1b6ae2b4115df280c626b71c54a5bb6, let's restore it.
Diffstat (limited to '')
-rw-r--r--docs/CODING_STYLE.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/CODING_STYLE.md b/docs/CODING_STYLE.md
index fcf787d372..0e76122734 100644
--- a/docs/CODING_STYLE.md
+++ b/docs/CODING_STYLE.md
@@ -132,6 +132,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
if (r < 0)
return log_error_errno(r, "Some function failed: %m");
/* → empty line here is good */
+ ```
- In shell scripts, do not use whitespace after the redirection operator
(`>some/file` instead of `> some/file`, `<<EOF` instead of `<< EOF`).