summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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());