aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-12-17 23:19:06 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-12-18 12:18:49 +0100
commit2811184a0991290d50aef8cbacb2ba6cffd27de9 (patch)
tree0782b5fb20c16b5ac1162df49bf3fa76e1e44085
parentdissect-image: wait for the main device and all partitions to be known by udev (diff)
downloadsystemd-2811184a0991290d50aef8cbacb2ba6cffd27de9.tar.gz
systemd-2811184a0991290d50aef8cbacb2ba6cffd27de9.tar.bz2
systemd-2811184a0991290d50aef8cbacb2ba6cffd27de9.zip
systemctl: add comment why whitespace in message is needed
-rw-r--r--src/systemctl/systemctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index dcea9d22a..e22f349e4 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -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"