1
0
Fork 0
mirror of https://github.com/lrsjng/h5ai synced 2025-12-06 08:52:45 +01:00

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 = [];