summaryrefslogtreecommitdiffstats
path: root/src/xdg-autostart-generator
diff options
context:
space:
mode:
Diffstat (limited to 'src/xdg-autostart-generator')
-rw-r--r--src/xdg-autostart-generator/test-xdg-autostart.c2
-rw-r--r--src/xdg-autostart-generator/xdg-autostart-service.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/xdg-autostart-generator/test-xdg-autostart.c b/src/xdg-autostart-generator/test-xdg-autostart.c
index a437e2cfed..5108beeaa9 100644
--- a/src/xdg-autostart-generator/test-xdg-autostart.c
+++ b/src/xdg-autostart-generator/test-xdg-autostart.c
@@ -13,7 +13,7 @@ static void test_translate_name(void) {
_cleanup_free_ char *t;
assert_se(t = xdg_autostart_service_translate_name("a-b.blub.desktop"));
- assert_se(streq(t, "app-a\\x2db.blub-autostart.service"));
+ assert_se(streq(t, "app-a\\x2db.blub@autostart.service"));
}
static void test_xdg_format_exec_start_one(const char *exec, const char *expected) {
diff --git a/src/xdg-autostart-generator/xdg-autostart-service.c b/src/xdg-autostart-generator/xdg-autostart-service.c
index 671d16d2d9..ed9301d809 100644
--- a/src/xdg-autostart-generator/xdg-autostart-service.c
+++ b/src/xdg-autostart-generator/xdg-autostart-service.c
@@ -58,7 +58,7 @@ char *xdg_autostart_service_translate_name(const char *name) {
if (!escaped)
return NULL;
- return strjoin("app-", escaped, "-autostart.service");
+ return strjoin("app-", escaped, "@autostart.service");
}
static int xdg_config_parse_bool(