summaryrefslogtreecommitdiff
path: root/src/anytun-controld.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/anytun-controld.cpp')
-rw-r--r--src/anytun-controld.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/anytun-controld.cpp b/src/anytun-controld.cpp
index 680d143..2c6c619 100644
--- a/src/anytun-controld.cpp
+++ b/src/anytun-controld.cpp
@@ -150,14 +150,13 @@ int main(int argc, char* argv[])
pidFile << pid;
pidFile.close();
}
-
- SignalController sig;
- sig.init();
+
+ gSignalController.init();
boost::thread * syncListenerThread;
syncListenerThread = new boost::thread(boost::bind(syncListener));
- int ret = sig.run();
+ int ret = gSignalController.run();
return ret;
}