1
0
Fork 0

Merge pull request #102545 from bruvzg/fix_link_remove

[Unix] Fix deleting symlinks.
This commit is contained in:
Thaddeus Crews 2025-02-07 14:50:32 -06:00
commit 23039f77fd
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84
1 changed files with 1 additions and 1 deletions

View File

@ -434,7 +434,7 @@ Error DirAccessUnix::remove(String p_path) {
}
struct stat flags = {};
if ((stat(p_path.utf8().get_data(), &flags) != 0)) {
if ((lstat(p_path.utf8().get_data(), &flags) != 0)) {
return FAILED;
}