summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-01-17 22:37:10 +0000
committerChristian Pointner <equinox@anytun.org>2009-01-17 22:37:10 +0000
commit2782703b4aca9ca0803b3bf055ae0e6e152173e3 (patch)
treeb0ec5b6c2f517765a95d3288f75554867671d52e /src
parentupdated docs (diff)
removed debug output
Diffstat (limited to 'src')
-rw-r--r--src/anytun.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/anytun.cpp b/src/anytun.cpp
index 2c06a46..06113b2 100644
--- a/src/anytun.cpp
+++ b/src/anytun.cpp
@@ -342,14 +342,11 @@ int main(int argc, char* argv[])
catch(syntax_error& e)
{
std::cerr << e << std::endl;
+ cLog.msg(Log::PRIO_NOTICE) << "exitting after syntax error";
gOpt.printUsage();
exit(-1);
}
- gOpt.printOptions();
- exit(0);
-
-
std::ofstream pidFile;
if(gOpt.getPidFile() != "") {
pidFile.open(gOpt.getPidFile().c_str());