diff options
Diffstat (limited to 'update_attempter.cc')
-rw-r--r-- | update_attempter.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/update_attempter.cc b/update_attempter.cc index 0ead18ae..6324a482 100644 --- a/update_attempter.cc +++ b/update_attempter.cc @@ -1507,6 +1507,12 @@ bool UpdateAttempter::GetStatus(UpdateEngineStatus* out_status) { system_state_->prefs()->GetString(kPrefsOmahaEolDate, &str_eol_date); out_status->eol_date = StringToEolDate(str_eol_date); + // A powerwash will take place either if the install plan says it is required + // or if an enterprise rollback is happening. + out_status->will_powerwash_after_reboot = + install_plan_ && + (install_plan_->powerwash_required || install_plan_->is_rollback); + return true; } |