Revert "ply-utils: Use lstat instead of stat for ply_file_exists"

This reverts commit e989867f48.

I had stat/lstat momentarily crossed in my brain
This commit is contained in:
Ray Strode 2023-12-28 14:05:36 -05:00
parent ed3e4c8a11
commit 3b5dce92d4

View file

@ -518,7 +518,7 @@ ply_file_exists (const char *file)
{
struct stat file_info;
if (lstat (file, &file_info) < 0)
if (stat (file, &file_info) < 0)
return false;
return S_ISREG (file_info.st_mode);