diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2018-11-13 12:46:36 -0800 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2018-11-13 12:46:36 -0800 |
commit | 4ed7d20a4880a168a447eb0b5d02b3c643ab0cff (patch) | |
tree | 576b0219b0466b8a452e990ada7e9159bc60c486 /osdep | |
parent | 350116c513a8d6ea48842245b1d85287b834fbf5 (diff) | |
download | infinitytier-4ed7d20a4880a168a447eb0b5d02b3c643ab0cff.tar.gz infinitytier-4ed7d20a4880a168a447eb0b5d02b3c643ab0cff.zip |
Another stability fix... turns out vfork is problematic here.
Diffstat (limited to 'osdep')
-rw-r--r-- | osdep/MacEthernetTapAgent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/MacEthernetTapAgent.c b/osdep/MacEthernetTapAgent.c index 7eaac871..91eff25c 100644 --- a/osdep/MacEthernetTapAgent.c +++ b/osdep/MacEthernetTapAgent.c @@ -404,7 +404,7 @@ int main(int argc,char **argv) } args[argNo] = (char *)0; if (argNo > 2) { - pid_t pid = vfork(); + pid_t pid = fork(); if (pid < 0) { return -1; } else if (pid == 0) { |