forked from Mirror/pmbootstrap
pmbootstrap: kill process if silent for 5 minutes (rewrite logging)
This commit is contained in:
parent
a9f149153a
commit
8268dc0e3d
31 changed files with 544 additions and 192 deletions
|
@ -35,7 +35,7 @@ def folder_size(args, path):
|
|||
output = pmb.helpers.run.root(args, ["du", "--summarize",
|
||||
"--apparent-size",
|
||||
"--block-size=1",
|
||||
path], return_stdout=True)
|
||||
path], output_return=True)
|
||||
ret = int(output.split("\t")[0])
|
||||
return ret
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue