diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-09-06 17:52:03 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-09-06 17:52:03 +0300 |
commit | bc847e8cc223fbceb075eda94d8a0413ef404e9a (patch) | |
tree | 8285ee7b5f783b29a2b4ecb9136da8bb29e0ccaa | |
parent | b82952bdba27fecb1ac5373c3cb65ef5b41ce466 (diff) | |
download | minetest-bc847e8cc223fbceb075eda94d8a0413ef404e9a.tar.gz minetest-bc847e8cc223fbceb075eda94d8a0413ef404e9a.tar.bz2 minetest-bc847e8cc223fbceb075eda94d8a0413ef404e9a.zip |
Fix bug in posix file/directory removal wrapper, as pointed out by kahrl
-rw-r--r-- | src/filesys.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filesys.cpp b/src/filesys.cpp index 037d21fdb..8aa10ba58 100644 --- a/src/filesys.cpp +++ b/src/filesys.cpp @@ -254,7 +254,7 @@ bool RecursiveDelete(std::string path) execv(argv[0], argv); // Execv shouldn't return. Failed. - return false; + _exit(1); } else { |