daemonize by default. -d to debugmode.

git-svn-id: file:///svn/unbound/trunk@141 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2007-02-23 15:23:33 +00:00
parent a92f1cf9ac
commit f0a6f5130f
7 changed files with 21 additions and 8 deletions
+1
View File
@@ -156,6 +156,7 @@ main(int argc, char* argv[])
/* determine commandline options for the daemon */
pass_argc = 1;
pass_argv[0] = "unbound";
add_opts("-d", &pass_argc, pass_argv);
while( (c=getopt(argc, argv, "ho:p:")) != -1) {
switch(c) {
case 'p':