From 1ccd28f7d8722a0b9c7c9f09a7dccd046f69c567 Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 4 Jul 2022 11:56:15 +0800 Subject: [PATCH] Update system_api.py --- class/core/system_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/class/core/system_api.py b/class/core/system_api.py index f576275e8..f70499fe6 100755 --- a/class/core/system_api.py +++ b/class/core/system_api.py @@ -350,8 +350,8 @@ class system_api: tempInodes1 = tempInodes.split('\n') diskInfo = [] n = 0 - cuts = ['/mnt/cdrom', '/boot', '/boot/efi', '/dev', - '/dev/shm', '/run/lock', '/run', '/run/shm', '/run/user'] + cuts = ['/mnt/cdrom', '/boot', '/boot/efi', '/dev/shm', + '/run/lock', '/run', '/run/shm', '/run/user'] for tmp in temp1: n += 1 inodes = tempInodes1[n - 1].split()