systemctl: add comment why whitespace in message is needed

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-12-17 23:19:06 +01:00
parent a8040b6d0a
commit 2811184a09
1 changed files with 2 additions and 1 deletions

View File

@ -6379,7 +6379,8 @@ static int enable_unit(int argc, char *argv[], void *userdata) {
if (carries_install_info == 0 && !ignore_carries_install_info)
log_notice("The unit files have no installation config (WantedBy=, RequiredBy=, Also=,\n"
"Alias= settings in the [Install] section, and DefaultInstance= for template\n"
"units). This means they are not meant to be enabled using systemctl.\n \n"
"units). This means they are not meant to be enabled using systemctl.\n"
" \n" /* trick: the space is needed so that the line does not get stripped from output */
"Possible reasons for having this kind of units are:\n"
"%1$s A unit may be statically enabled by being symlinked from another unit's\n"
" .wants/ or .requires/ directory.\n"