From 4a3be10add13b11ba1f98d4a2ad218fb39f708a1 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Fri, 2 Apr 2021 13:40:55 +0200 Subject: [PATCH] bundles/apt: fix if in upgrade-and-reboot --- bundles/apt/files/upgrade-and-reboot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/apt/files/upgrade-and-reboot b/bundles/apt/files/upgrade-and-reboot index 118cc11..008df40 100644 --- a/bundles/apt/files/upgrade-and-reboot +++ b/bundles/apt/files/upgrade-and-reboot @@ -74,7 +74,7 @@ then date | mail -s "SYSREBOOTNOW ${node.name}" ${data['mail']} % endif systemctl reboot -% if restart_triggers +% if restart_triggers: else % for affected, restarts in sorted(restart_triggers.items()): up_since=$(systemctl show "${affected}" | sed -n 's/^ActiveEnterTimestamp=//p' || echo 0)