summaryrefslogtreecommitdiff
path: root/src/filesys.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-09-06 17:52:03 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-09-06 17:52:03 +0300
commitbc847e8cc223fbceb075eda94d8a0413ef404e9a (patch)
tree8285ee7b5f783b29a2b4ecb9136da8bb29e0ccaa /src/filesys.cpp
parentb82952bdba27fecb1ac5373c3cb65ef5b41ce466 (diff)
downloadminetest-bc847e8cc223fbceb075eda94d8a0413ef404e9a.tar.gz
minetest-bc847e8cc223fbceb075eda94d8a0413ef404e9a.tar.bz2
minetest-bc847e8cc223fbceb075eda94d8a0413ef404e9a.zip
Fix bug in posix file/directory removal wrapper, as pointed out by kahrl
Diffstat (limited to 'src/filesys.cpp')
-rw-r--r--src/filesys.cpp2
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
{