Skip to content

Commit

Permalink
update_agent: reword reboot delay broadcast mesage
Browse files Browse the repository at this point in the history
Reword message broadcasted to users when reboots are delayed due
to active interactive user sessions to emphasize that logging out
active sessions will allow Zincat to continue the auto-update
process.
  • Loading branch information
kelvinfan001 committed May 17, 2021
1 parent 958fac0 commit a762039
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/update_agent/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,10 @@ fn format_reboot_warning(seconds: u64, release_ver: &str) -> String {
let time_till_reboot = format_seconds(seconds);

format!(
"New update {} deployed.\nRebooting into this update in around {} (if permitted by update strategy).",
"New update {} is available and has been deployed.\n\
If permitted by the update strategy, Zincati will reboot into this update when all\n\
interactive users have logged out, or in {}, whichever comes earlier.\n\
Please log out of all active sessions in order to let the auto-update process continue.",
release_ver, time_till_reboot
)
}
Expand Down

0 comments on commit a762039

Please sign in to comment.