diff options
Diffstat (limited to 'src/libutil/util.cc')
-rw-r--r-- | src/libutil/util.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc index 8fc78b1463de..5f6203bc2805 100644 --- a/src/libutil/util.cc +++ b/src/libutil/util.cc @@ -868,7 +868,7 @@ string runProgram(Path program, bool searchPath, const Strings & args) /* Fork. */ Pid pid; - pid = maybeVfork(); + pid = fork(); switch (pid) { @@ -928,13 +928,6 @@ void closeOnExec(int fd) } -#if HAVE_VFORK -pid_t (*maybeVfork)() = vfork; -#else -pid_t (*maybeVfork)() = fork; -#endif - - ////////////////////////////////////////////////////////////////////// |