summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2024-10-18 19:41:25 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2024-10-28 14:04:06 +0100
commitbb56c27fc81da2777cd7064a0b88ca011eced509 (patch)
treef45e8759e421bf261830ecbc7d95c4257747ad04
parentmeson: add loongarch64's definition to cpu_arch_defines (diff)
downloadsystemd-bb56c27fc81da2777cd7064a0b88ca011eced509.tar.xz
systemd-bb56c27fc81da2777cd7064a0b88ca011eced509.zip
sysv-generator: break long message into lines
The journal handles multi-line messages nicely, and they are easier to read. Drop the recycling symbol, there is no circular process here, we go from a to b and never back to a again.
-rw-r--r--src/sysv-generator/sysv-generator.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/sysv-generator/sysv-generator.c b/src/sysv-generator/sysv-generator.c
index f3b447095a..fde8c057e3 100644
--- a/src/sysv-generator/sysv-generator.c
+++ b/src/sysv-generator/sysv-generator.c
@@ -763,12 +763,13 @@ static int enumerate_sysv(const LookupPaths *lp, Hashmap *all_services) {
return log_oom();
log_struct(LOG_WARNING,
- LOG_MESSAGE("SysV service '%s' lacks a native systemd unit file. "
- "%s Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it safe, robust and future-proof. "
+ LOG_MESSAGE("SysV service '%s' lacks a native systemd unit file, "
+ "automatically generating a unit file for compatibility.\n"
+ "Please update package to include a native systemd unit file.\n"
"%s This compatibility logic is deprecated, expect removal soon. %s",
fpath,
- special_glyph(SPECIAL_GLYPH_RECYCLING),
- special_glyph(SPECIAL_GLYPH_WARNING_SIGN), special_glyph(SPECIAL_GLYPH_WARNING_SIGN)),
+ special_glyph(SPECIAL_GLYPH_WARNING_SIGN),
+ special_glyph(SPECIAL_GLYPH_WARNING_SIGN)),
"MESSAGE_ID=" SD_MESSAGE_SYSV_GENERATOR_DEPRECATED_STR,
"SYSVSCRIPT=%s", fpath,
"UNIT=%s", name);