diff options
author | Christian Pointner <equinox@anytun.org> | 2009-01-17 22:37:10 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2009-01-17 22:37:10 +0000 |
commit | 2782703b4aca9ca0803b3bf055ae0e6e152173e3 (patch) | |
tree | b0ec5b6c2f517765a95d3288f75554867671d52e | |
parent | updated docs (diff) |
removed debug output
-rw-r--r-- | src/anytun.cpp | 5 |
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()); |