mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-09 15:26:46 +02:00
Dereference sym links when using du.
This commit is contained in:
@@ -59,7 +59,7 @@ class Filesize {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private function exec_du_all($paths) {
|
private function exec_du_all($paths) {
|
||||||
$cmdv = array_merge(['du', '-sb'], $paths);
|
$cmdv = array_merge(['du', '-sbL'], $paths);
|
||||||
$lines = $this->exec($cmdv);
|
$lines = $this->exec($cmdv);
|
||||||
|
|
||||||
$sizes = [];
|
$sizes = [];
|
||||||
|
Reference in New Issue
Block a user