bundles/apt: fix if in upgrade-and-reboot
This commit is contained in:
parent
6712d98040
commit
4a3be10add
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue