From bc847e8cc223fbceb075eda94d8a0413ef404e9a Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 6 Sep 2011 17:52:03 +0300 Subject: Fix bug in posix file/directory removal wrapper, as pointed out by kahrl --- src/filesys.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 { -- cgit v1.2.3