Przeglądaj źródła

FIX: Bug [0002194] Ubuntu snapd produce unnecessary information at drives list

Alexander Koblov 6 lat temu
rodzic
commit
ddb18bbb81
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/platform/udrivewatcher.pas

+ 1 - 0
src/platform/udrivewatcher.pas

@@ -618,6 +618,7 @@ end;
          (StrBegins(mnt_dir, '/sys/')) or
          (StrBegins(mnt_dir, '/proc/')) or
          (StrBegins(mnt_dir, '/snap/')) or
+         (StrPos(mnt_dir, '/snapd/') <> nil) or
          (StrBegins(ExtractFileName(mnt_dir), '.')) then Exit;
 
       // check file system type