1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00

core: add a note clarifying that we should be careful when adding new specifiers

This commit is contained in:
Lennart Poettering 2016-12-07 19:03:22 +01:00
parent 1b89b0c499
commit 03fc9c723c

View File

@ -257,6 +257,10 @@ int unit_full_printf(Unit *u, const char *format, char **ret) {
* %s: the shell of the running user * %s: the shell of the running user
* *
* %v: `uname -r` of the running system * %v: `uname -r` of the running system
*
* NOTICE: When you add new entries here, please be careful: specifiers which depend on settings of the unit
* file itself are broken by design, as they would resolve differently depending on whether they are used
* before or after the relevant configuration setting. Hence: don't add them.
*/ */
const Specifier table[] = { const Specifier table[] = {