Mise à jour de 'update-motd.d/sysinfo.py'

This commit is contained in:
Dryusdan 2021-04-26 18:03:11 +02:00
parent 2f173f845d
commit e311b0255a
1 changed files with 0 additions and 1 deletions

View File

@ -40,7 +40,6 @@ def proc_mount():
items = {}
for m in open('/proc/mounts').readlines():
a = m.split()
if a[0].find('/dev/') is 0:
if a[0].find('/dev/') is 0:
statfs = os.statvfs(a[1])
perc = 100-100.*statfs.f_bavail/statfs.f_blocks