|
@@ -287,6 +287,7 @@ func GetDirectorySizeNative(filename string) (int64, error) {
|
|
|
//du command exists
|
|
|
//use native syscall to get disk size
|
|
|
cmd := exec.Command("du", "-sb", abspath)
|
|
|
+ fmt.Println("du", "-sb", abspath)
|
|
|
out, err := cmd.CombinedOutput()
|
|
|
if err != nil {
|
|
|
return 0, err
|