summaryrefslogtreecommitdiff
path: root/base/inifile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/inifile.cc')
-rw-r--r--base/inifile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/inifile.cc b/base/inifile.cc
index 74d47204e..e01032d02 100644
--- a/base/inifile.cc
+++ b/base/inifile.cc
@@ -142,7 +142,7 @@ IniFile::loadCPP(const string &file, vector<char *> &cppArgs)
close(STDOUT_FILENO);
if (dup2(fd[1], STDOUT_FILENO) == -1)
- return 1;
+ exit(1);
execvp("g++", args);