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.
This commit is contained in:
parent
721060d446
commit
e9f4aabd80
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue