forked from Mirrorlandia_minetest/minetest
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(argv[0], argv);
|
||||||
|
|
||||||
// Execv shouldn't return. Failed.
|
// Execv shouldn't return. Failed.
|
||||||
return false;
|
_exit(1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user