From 90c112bd870e3cd4ed2cd76504e11ea04427e6cc Mon Sep 17 00:00:00 2001 From: Daan Breur Date: Mon, 20 Dec 2021 09:50:17 +0100 Subject: [PATCH] Show rclone filesystems Fixes #45 --- core/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/util.py b/core/util.py index 249daae..fa3e3fe 100755 --- a/core/util.py +++ b/core/util.py @@ -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: