Bugfixes part 3 #209
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user