mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 14:42:24 +01:00
Fix bug in posix file/directory removal wrapper, as pointed out by kahrl
This commit is contained in:
parent
b82952bdba
commit
bc847e8cc2
@ -254,7 +254,7 @@ bool RecursiveDelete(std::string path)
|
||||
execv(argv[0], argv);
|
||||
|
||||
// Execv shouldn't return. Failed.
|
||||
return false;
|
||||
_exit(1);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user