Merge pull request #14712 from wlhlm/root-storage-daemons-docs-fix

Tiny fix for example code in docs
This commit is contained in:
Anita Zhang 2020-01-30 12:57:21 -08:00 committed by GitHub
commit 80d48995f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -87,11 +87,11 @@ systemd 38:
Processes (run by the root user) whose first character of the zeroth command
line argument is `@` are excluded from the killing spree, much the same way as
kernel threads are excluded too. Thus, a daemon which wants to take advantage
of this logic needs to place the following at the top of its main() function:
of this logic needs to place the following at the top of its `main()` function:
```c
...
[0][0] = '@';
argv[0][0] = '@';
...
```