Dereference sym links when using du.

This commit is contained in:
Lars Jung 2016-08-09 22:46:28 +02:00
parent 4d96cb47ad
commit f9a7a217f8

View file

@ -59,7 +59,7 @@ class Filesize {
}
private function exec_du_all($paths) {
$cmdv = array_merge(['du', '-sb'], $paths);
$cmdv = array_merge(['du', '-sbL'], $paths);
$lines = $this->exec($cmdv);
$sizes = [];