Commit 7b29fbf3 authored by Dominik Charousset's avatar Dominik Charousset

Fix formatting

parent 9c932514
...@@ -106,7 +106,8 @@ std::string get_root_uuid() { ...@@ -106,7 +106,8 @@ std::string get_root_uuid() {
ifstream fs; ifstream fs;
fs.open("/etc/fstab", std::ios_base::in); fs.open("/etc/fstab", std::ios_base::in);
columns_iterator end; columns_iterator end;
auto i = std::find_if(columns_iterator{&fs}, end, [](const vector<string>& cols) { auto i = std::find_if(columns_iterator{&fs}, end,
[](const vector<string>& cols) {
return cols.size() == 6 && cols[1] == "/"; return cols.size() == 6 && cols[1] == "/";
}); });
if (i != end) { if (i != end) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment