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

Commit 7402df89 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "libsnapshot: dump rollback indicator" am: 98dc71f4 am: 482ce8ba am:...

Merge "libsnapshot: dump rollback indicator" am: 98dc71f4 am: 482ce8ba am: cd5027de am: e0698262

Change-Id: Ib2af6d8f9510a547733eba007bd64b9f0a4cf579
parents 9b99b5ed e0698262
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2352,6 +2352,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;