Merge "Replace vfork() with fork()."

This commit is contained in:
Treehugger Robot 2018-02-23 17:04:34 +00:00 committed by Gerrit Code Review
commit 21b381622d

View file

@ -189,7 +189,7 @@ static int exec_cmd(const std::vector<std::string>& args) {
argv.push_back(nullptr);
pid_t child;
if ((child = vfork()) == 0) {
if ((child = fork()) == 0) {
execv(argv[0], argv.data());
_exit(EXIT_FAILURE);
}