summaryrefslogtreecommitdiff
path: root/src/linux/tunDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/tunDevice.cpp')
-rw-r--r--src/linux/tunDevice.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/linux/tunDevice.cpp b/src/linux/tunDevice.cpp
index c351683..bb3e722 100644
--- a/src/linux/tunDevice.cpp
+++ b/src/linux/tunDevice.cpp
@@ -166,8 +166,8 @@ void TunDevice::do_ifconfig()
#endif
}
-void TunDevice::waitForPostUpScript()
+void TunDevice::waitUntilReady()
{
- if (sys_exec_)
- sys_exec_->waitForScript();
+ if(sys_exec_)
+ SysExec::waitAndDestroy(&sys_exec_);
}