]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Merge pull request #14151 from mk-fg/fix-timer-dump-syntax-bug
authorAnita Zhang <the.anitazha@gmail.com>
Mon, 25 Nov 2019 23:56:33 +0000 (15:56 -0800)
committerGitHub <noreply@github.com>
Mon, 25 Nov 2019 23:56:33 +0000 (15:56 -0800)
core.timer: fix "systemd-analyze dump" and docs syntax inconsistencies wrt OnTimezoneChange=

docs/TRANSIENT-SETTINGS.md
src/core/timer.c

index 05d6d4c0682d2359ba789921cb2584315c9fa336..838b90936ecfd223afa58a9d1bac2e1dcc0eb397 100644 (file)
@@ -348,7 +348,7 @@ Most timer unit settings are available to transient units.
 ✓ OnCalendar=
 ✓ OnClockChange=
 ✓ OnStartupSec=
-✓ OnTimezoneChange
+✓ OnTimezoneChange=
 ✓ OnUnitActiveSec=
 ✓ OnUnitInactiveSec=
 ✓ Persistent=
index 47c59ab7e9627afd254da474e5437b0604e7b249..051ca76273223a97e0539b5596b57230b2f10fe0 100644 (file)
@@ -216,7 +216,7 @@ static void timer_dump(Unit *u, FILE *f, const char *prefix) {
                 "%sAccuracy: %s\n"
                 "%sRemainAfterElapse: %s\n"
                 "%sOnClockChange: %s\n"
-                "%sOnTimeZoneChange %s\n",
+                "%sOnTimeZoneChange: %s\n",
                 prefix, timer_state_to_string(t->state),
                 prefix, timer_result_to_string(t->result),
                 prefix, trigger ? trigger->id : "n/a",