mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-09 07:08:01 +02:00
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:
parent
ed3e4c8a11
commit
3b5dce92d4
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue