From: Lennart Poettering Date: Thu, 23 Nov 2017 16:36:30 +0000 (+0100) Subject: systemctl: reword "needs-reload" message a bit X-Git-Tag: v236~94^2~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e9f4aabd80e7a8551fb7c328e9a36aaf9ce131cc;p=thirdparty%2Fsystemd.git systemctl: reword "needs-reload" message a bit This message is displayed either when the unit file itself is newer than what is loaded, but also when any of the drop-ins is newer. Say so in the message, in order not to confuse the user unnecessarily. --- diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 0d67905cdc2..e52b4e32be2 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -2466,7 +2466,7 @@ static int need_daemon_reload(sd_bus *bus, const char *unit) { static void warn_unit_file_changed(const char *name) { assert(name); - log_warning("%sWarning:%s %s changed on disk. Run 'systemctl%s daemon-reload' to reload units.", + log_warning("%sWarning:%s The unit file, source configuration file or drop-ins of %s changed on disk. Run 'systemctl%s daemon-reload' to reload units.", ansi_highlight_red(), ansi_normal(), name,