mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-03 08:45:25 +01:00
Fix bug in posix file/directory removal wrapper, as pointed out by kahrl
This commit is contained in:
@@ -254,7 +254,7 @@ bool RecursiveDelete(std::string path)
|
||||
execv(argv[0], argv);
|
||||
|
||||
// Execv shouldn't return. Failed.
|
||||
return false;
|
||||
_exit(1);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user