summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-11-09 06:30:46 +0100
committerRobin Gareus <robin@gareus.org>2019-11-09 06:30:46 +0100
commitb157e1a09ab79b4c28ab5a0004f1f979a95544ba (patch)
tree8ba7d4cfb97b4964fc37893df31f60f71cd3a6e5
parenta8a699133e14507e360d93603f685878a9cec1fd (diff)
Remove invalid error message
This clause is in NO_VFORK, vfork_exec_wrapper is irrelevant there
-rw-r--r--libs/pbd/system_exec.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/libs/pbd/system_exec.cc b/libs/pbd/system_exec.cc
index 56eba6959e..e97bcce922 100644
--- a/libs/pbd/system_exec.cc
+++ b/libs/pbd/system_exec.cc
@@ -926,10 +926,6 @@ SystemExec::start (StdErrMode stderr_mode, const char *vfork_exec_wrapper)
#else
signal (SIGPIPE, SIG_DFL);
#endif
- if (!vfork_exec_wrapper) {
- error << _("Cannot start external process, no vfork wrapper") << endmsg;
- return -1;
- }
int good_fds[2] = { pok[1], -1 };
close_allv(good_fds);