summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Bartoszkiewicz <mbartoszkiewicz@gmail.com>2014-06-26 10:16:27 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-06-26 07:18:27 -0400
commitbd34b310fb28249e6cb76de049c24bfee1f4ba4d (patch)
tree11adc7758ff6fb1cda04b73211d806ef0e194f97
parent8ac8c5817fc1c647ac85e81b1f7ee69b99f819b0 (diff)
timer: name the stamp file consistently
The stamp file for systemd --user timers was named stamp-foo.timer if XDG_DATA_HOME was unset, but foo.timer otherwise.
-rw-r--r--src/core/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/timer.c b/src/core/timer.c
index 6f2deda21f..e69dfbd1e4 100644
--- a/src/core/timer.c
+++ b/src/core/timer.c
@@ -131,7 +131,7 @@ static int timer_setup_persistent(Timer *t) {
e = getenv("XDG_DATA_HOME");
if (e)
- t->stamp_path = strjoin(e, "/systemd/timers/", UNIT(t)->id, NULL);
+ t->stamp_path = strjoin(e, "/systemd/timers/stamp-", UNIT(t)->id, NULL);
else {
_cleanup_free_ char *h = NULL;