Commit 948a20f9 authored by intrigeri's avatar intrigeri
Browse files

Upgrader: make code compatible with non-/usr-merged systems

parent 514ace78
......@@ -87,7 +87,7 @@ fun fatal (%args) {
fun directory_size (AbsDir $dir) {
my @du = split(/\s/, capturex(qw{/bin/du --block-size=1 --summarize}, $dir));
my @du = split(/\s/, capturex(qw{/usr/bin/du --block-size=1 --summarize}, $dir));
return $du[0];
Supports Markdown
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