From: MichaƂ Bartoszkiewicz Date: Thu, 26 Jun 2014 08:16:27 +0000 (+0200) Subject: timer: name the stamp file consistently X-Git-Tag: v215~168 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=bd34b310fb28249e6cb76de049c24bfee1f4ba4d 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. --- diff --git a/src/core/timer.c b/src/core/timer.c index 6f2deda21..e69dfbd1e 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;