mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
[Unix] Fix deleting symlinks.
This commit is contained in:
parent
3f56b3b239
commit
d5865cb962
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue