Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 098333d0 authored by Yifan Hong's avatar Yifan Hong Committed by Automerger Merge Worker
Browse files

libsnapshot: dump rollback indicator am: 37f5bb9f am: 050f3819

Change-Id: I3b93e5877605e5b72e6e9522d62491e5390a44cb
parents 7fb277fb 050f3819
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2435,6 +2435,9 @@ bool SnapshotManager::Dump(std::ostream& os) {

    ss << "Current slot: " << device_->GetSlotSuffix() << std::endl;
    ss << "Boot indicator: booting from " << GetCurrentSlot() << " slot" << std::endl;
    ss << "Rollback indicator: "
       << (access(GetRollbackIndicatorPath().c_str(), F_OK) == 0 ? "exists" : strerror(errno))
       << std::endl;

    bool ok = true;
    std::vector<std::string> snapshots;