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.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/anytun-controld.cpp b/src/anytun-controld.cpp
index 1dbc6f8..c70f770 100644
--- a/src/anytun-controld.cpp
+++ b/src/anytun-controld.cpp
@@ -90,14 +90,8 @@ int main(int argc, char* argv[])
exit(0);
}
StringList targets = gOpt.getLogTargets();
- if(targets.empty()) {
- cLog.addTarget("syslog:3,anytun-controld,daemon");
- }
- else {
- StringList::const_iterator it;
- for(it = targets.begin();it != targets.end(); ++it)
- cLog.addTarget(*it);
- }
+ for(StringList::const_iterator it = targets.begin();it != targets.end(); ++it)
+ cLog.addTarget(*it);
}
catch(syntax_error& e)
{