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)