Bugfixes part 3 #209

Open
andrey wants to merge 36 commits from bugfixes3 into master
Showing only changes of commit 1a153eefbc - Show all commits
+1 -1
View File
@@ -177,7 +177,7 @@ PIVector<PISystemInfo::MountInfo> PISystemInfo::mountInfo(bool ignore_cache) {
l_df.pop_front(); l_df.pop_front();
for (const auto & s: l_df) { for (const auto & s: l_df) {
PIStringList ml(s.replacedAll(" ", " ").split(" ")); PIStringList ml(s.replacedAll(" ", " ").split(" "));
if (ml.size_s() < 2) continue; if (ml.size_s() < 3) continue;
if (ml.front() == "none") continue; if (ml.front() == "none") continue;
m.space_all = ml[1].toULLong(); m.space_all = ml[1].toULLong();
m.space_used = ml[2].toULLong(); m.space_used = ml[2].toULLong();