Skip to content

Commit 9f00305

Browse files
committed
[Storage]
* add /media/net to ignore list
1 parent f3fa31a commit 9f00305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/python/Components/Storage.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ def cleanMediaDirs():
495495
mounts = getProcMountsNew()
496496
mounts = [x[1] for x in mounts if x[1].startswith("/media/")]
497497
for directory in listdir("/media"):
498-
if directory not in ("audiocd", "autofs", "hdd"):
498+
if directory not in ("audiocd", "autofs", "hdd", "net"):
499499
mediaDirectory = join("/media/", directory)
500500
if mediaDirectory not in mounts and not ismount(mediaDirectory):
501501
print(f"[Storage] remove directory {mediaDirectory} because of unmount")

0 commit comments

Comments
 (0)