We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3fa31a commit 9f00305Copy full SHA for 9f00305
lib/python/Components/Storage.py
@@ -495,7 +495,7 @@ def cleanMediaDirs():
495
mounts = getProcMountsNew()
496
mounts = [x[1] for x in mounts if x[1].startswith("/media/")]
497
for directory in listdir("/media"):
498
- if directory not in ("audiocd", "autofs", "hdd"):
+ if directory not in ("audiocd", "autofs", "hdd", "net"):
499
mediaDirectory = join("/media/", directory)
500
if mediaDirectory not in mounts and not ismount(mediaDirectory):
501
print(f"[Storage] remove directory {mediaDirectory} because of unmount")
0 commit comments