summaryrefslogtreecommitdiff
path: root/src/xdg-autostart-generator
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2022-06-24 09:59:44 +0200
committerDavid Tardon <dtardon@redhat.com>2022-06-28 12:50:44 +0200
commit28e5e1e97f47067bce190ea6b3404907d63e4320 (patch)
tree5d008272d08a98fd87b7f4690372cd98f668150d /src/xdg-autostart-generator
parente2341b6bc325932b3f9f10874956952cbdbd6361 (diff)
downloadsystemd-28e5e1e97f47067bce190ea6b3404907d63e4320.tar.gz
tree-wide: allow ASCII fallback for … in logs
Diffstat (limited to 'src/xdg-autostart-generator')
-rw-r--r--src/xdg-autostart-generator/xdg-autostart-generator.c3
-rw-r--r--src/xdg-autostart-generator/xdg-autostart-service.c8
2 files changed, 7 insertions, 4 deletions
diff --git a/src/xdg-autostart-generator/xdg-autostart-generator.c b/src/xdg-autostart-generator/xdg-autostart-generator.c
index 91dda27d43..918f6599ce 100644
--- a/src/xdg-autostart-generator/xdg-autostart-generator.c
+++ b/src/xdg-autostart-generator/xdg-autostart-generator.c
@@ -7,6 +7,7 @@
#include "dirent-util.h"
#include "fd-util.h"
#include "generator.h"
+#include "glyph-util.h"
#include "hashmap.h"
#include "log.h"
#include "main-func.h"
@@ -43,7 +44,7 @@ static int enumerate_xdg_autostart(Hashmap *all_services) {
STRV_FOREACH(path, autostart_dirs) {
_cleanup_closedir_ DIR *d = NULL;
- log_debug("Scanning autostart directory \"%s\"…", *path);
+ log_debug("Scanning autostart directory \"%s\"%s", *path, special_glyph(SPECIAL_GLYPH_ELLIPSIS));
d = opendir(*path);
if (!d) {
log_full_errno(errno == ENOENT ? LOG_DEBUG : LOG_WARNING, errno,
diff --git a/src/xdg-autostart-generator/xdg-autostart-service.c b/src/xdg-autostart-generator/xdg-autostart-service.c
index 9c4a7f2404..0c14b6ea65 100644
--- a/src/xdg-autostart-generator/xdg-autostart-service.c
+++ b/src/xdg-autostart-generator/xdg-autostart-service.c
@@ -483,8 +483,9 @@ static int xdg_autostart_generate_desktop_condition(
if (!e_autostart_condition)
return log_oom();
- log_debug("%s: ExecCondition converted to %s --condition \"%s\"…",
- service->path, gnome_autostart_condition_path, e_autostart_condition);
+ log_debug("%s: ExecCondition converted to %s --condition \"%s\"%s",
+ service->path, gnome_autostart_condition_path, e_autostart_condition,
+ special_glyph(SPECIAL_GLYPH_ELLIPSIS));
fprintf(f,
"ExecCondition=%s --condition \"%s\"\n",
@@ -638,6 +639,7 @@ int xdg_autostart_service_generate_unit(
if (r < 0)
return r;
- log_debug("%s: symlinking %s in xdg-desktop-autostart.target/.wants…", service->path, service->name);
+ log_debug("%s: symlinking %s in xdg-desktop-autostart.target/.wants%s",
+ service->path, service->name, special_glyph(SPECIAL_GLYPH_ELLIPSIS));
return generator_add_symlink(dest, "xdg-desktop-autostart.target", "wants", service->name);
}