Skip to content

Commit

Permalink
skip fs entries which start with .
Browse files Browse the repository at this point in the history
  • Loading branch information
whoozle committed Jan 9, 2025
1 parent 451b973 commit 82e3c29
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mtp/usb/DeviceBusyException.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ namespace mtp { namespace usb
if (fdPath.empty())
break;

if (fdPath[0] == '.')
continue;

auto fdTarget = ReadLink(fdsRoot + "/" + fdPath);
if (fdTarget.empty())
continue;
Expand Down

0 comments on commit 82e3c29

Please sign in to comment.