]> git.ipfire.org Git - thirdparty/systemd.git/commit
man: fix list of escaped characters in unit names
authorLennart Poettering <lennart@poettering.net>
Wed, 26 May 2021 11:55:37 +0000 (13:55 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 26 May 2021 15:27:24 +0000 (17:27 +0200)
commitaa6dc3ec337b04308a5dfe3b962fa88088b2c82e
treeb79d8ca180902aed6ae8cee0f6376772590d67b1
parent36c357b486ef23d3de961c86bd8f79d17f3d0a94
man: fix list of escaped characters in unit names

The code works differently than the docs, and the code is right here.
Fix the doc hence.

See VALID_CHARS in unit-name.c for details about allowed chars in unit
names, but keep in mind that "-" and "\" are special, since generated by
the escaping logic: they are OK to show up in unit names, but need to be
escaped when converting foreign strings to unit names to make sure
things remain reversible.

Fixes: #19623
man/systemd.unit.xml