Commit ec58bc54 authored by Thomas Perl's avatar Thomas Perl

[diskusage] Don't count bind-mounts

parent 6c893c42
......@@ -64,7 +64,7 @@ static quint64 calculateSize(QString directory)
}
QProcess du;
du.start("du", QStringList() << "-sb" << directory, QIODevice::ReadOnly);
du.start("du", QStringList() << "-sxb" << directory, QIODevice::ReadOnly);
du.waitForFinished();
if (du.exitStatus() != QProcess::NormalExit) {
qWarning() << "Could not determine size of:" << directory;
......
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