From: Lennart Poettering Date: Tue, 27 Nov 2018 12:39:28 +0000 (+0100) Subject: systemctl: suffix unit file settings with = in our output X-Git-Tag: v240~195^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1b9706b1cb30783f8ac768e9aa8609bb0dfd24de;p=thirdparty%2Fsystemd.git systemctl: suffix unit file settings with = in our output We do this in our man pages and log messages, and hence also in this explanatory text. --- diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index d573f8f17a3..87836d611f5 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -6297,9 +6297,9 @@ static int enable_unit(int argc, char *argv[], void *userdata) { } if (carries_install_info == 0 && !ignore_carries_install_info) - log_warning("The unit files have no installation config (WantedBy, RequiredBy, Also, Alias\n" - "settings in the [Install] section, and DefaultInstance for template units).\n" - "This means they are not meant to be enabled using systemctl.\n" + log_warning("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" "Possible reasons for having this kind of units are:\n" "1) A unit may be statically enabled by being symlinked from another unit's\n" " .wants/ or .requires/ directory.\n"