New total reboot counter handling #708
@ -2165,7 +2165,7 @@ void CoreController::rewriteRebootCountersFile(RebootCountersFile file) {
|
|||||||
std::string path = currMntPrefix + REBOOT_COUNTERS_FILE;
|
std::string path = currMntPrefix + REBOOT_COUNTERS_FILE;
|
||||||
std::ofstream rebootFile(path);
|
std::ofstream rebootFile(path);
|
||||||
if (rebootFile.is_open()) {
|
if (rebootFile.is_open()) {
|
||||||
rebootFile << "\nimg00: " << file.img00Cnt << "\nimg01: " << file.img01Cnt
|
rebootFile << "img00: " << file.img00Cnt << "\nimg01: " << file.img01Cnt
|
||||||
<< "\nimg10: " << file.img10Cnt << "\nimg11: " << file.img11Cnt << "\n";
|
<< "\nimg10: " << file.img10Cnt << "\nimg11: " << file.img11Cnt << "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user