summaryrefslogtreecommitdiffstats
path: root/src/run-generator
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2022-06-24 09:13:42 +0200
committerDavid Tardon <dtardon@redhat.com>2022-06-28 12:50:43 +0200
commite2341b6bc325932b3f9f10874956952cbdbd6361 (patch)
treeb7ffbab32c7fa4023f8251bdab9c542a11fe52aa /src/run-generator
parentci: remove links to "codeless contribution" actions (diff)
downloadsystemd-e2341b6bc325932b3f9f10874956952cbdbd6361.tar.xz
systemd-e2341b6bc325932b3f9f10874956952cbdbd6361.zip
tree-wide: allow ASCII fallback for → in logs
Diffstat (limited to 'src/run-generator')
-rw-r--r--src/run-generator/run-generator.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/run-generator/run-generator.c b/src/run-generator/run-generator.c
index fb62209704..e3fb7f24fe 100644
--- a/src/run-generator/run-generator.c
+++ b/src/run-generator/run-generator.c
@@ -7,6 +7,7 @@
#include "fd-util.h"
#include "fileio.h"
#include "generator.h"
+#include "glyph-util.h"
#include "mkdir.h"
#include "proc-cmdline.h"
#include "special.h"
@@ -116,7 +117,8 @@ static int generate(void) {
/* And now redirect default.target to our new target */
p = strjoina(arg_dest, "/" SPECIAL_DEFAULT_TARGET);
if (symlink("kernel-command-line.target", p) < 0)
- return log_error_errno(errno, "Failed to link unit file kernel-command-line.target → %s: %m", p);
+ return log_error_errno(errno, "Failed to link unit file kernel-command-line.target %s %s: %m",
+ special_glyph(SPECIAL_GLYPH_ARROW_RIGHT), p);
return 0;
}