1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

[Unix] Fix deleting symlinks.

This commit is contained in:
Pāvels Nadtočajevs
2025-02-07 18:57:22 +02:00
parent 3f56b3b239
commit d5865cb962

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;
}