Skip to content

Commit

Permalink
Ignore hidden files. Fixes #64
Browse files Browse the repository at this point in the history
  • Loading branch information
erichelgeson committed Sep 5, 2023
1 parent ff4d2e1 commit a758c65
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/BlueSCSI_disk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,11 @@ bool scsiDiskFilenameValid(const char* name)
}
}
}
if(name[0] == '.')
{
debuglog("-- Ignoring hidden file ", name);
return false;
}
return true;
}

Expand Down

0 comments on commit a758c65

Please sign in to comment.