Skip to content

Commit

Permalink
Show rclone filesystems
Browse files Browse the repository at this point in the history
  • Loading branch information
daanbreur committed Dec 20, 2021
1 parent 98dde2e commit 90c112b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def get_mounts():
with open("/proc/mounts") as mount:
for line in mount:
fields = line.strip().split()
if fields[0].startswith("/dev"):
if fields[0].startswith("/dev") or ("rclone" in fields[2]):
if ("boot" in fields[1]) or ("fuse" in fields) or ("/snap/" in fields[1]) or ("/loop" in fields[0]):
continue
else:
Expand Down

0 comments on commit 90c112b

Please sign in to comment.