Change fields verification for stat output
This commit is contained in:
parent
e2fe8b22f5
commit
d1fb094b5e
|
@ -1740,7 +1740,7 @@ class Linux(Platform):
|
|||
# 14 total size in bytes
|
||||
|
||||
for i in range(len(fields)):
|
||||
if fields[i] == "?":
|
||||
if not fields[i].isdigit():
|
||||
fields[i] = "0"
|
||||
|
||||
stat = os.stat_result(
|
||||
|
|
Loading…
Reference in New Issue