strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
432b298
)
added setsid() to properly detach from console
author
Martin Willi
<martin@strongswan.org>
Mon, 11 Jun 2007 12:21:12 +0000
(12:21 -0000)
committer
Martin Willi
<martin@strongswan.org>
Mon, 11 Jun 2007 12:21:12 +0000
(12:21 -0000)
src/starter/starter.c
patch
|
blob
|
history
diff --git
a/src/starter/starter.c
b/src/starter/starter.c
index
0bf1d7a
..
f84d413
100644
(file)
--- a/
src/starter/starter.c
+++ b/
src/starter/starter.c
@@
-276,6
+276,7
@@
int main (int argc, char **argv)
dup2(fnull, STDERR_FILENO);
close(fnull);
}
+ setsid();
}
break;
case -1: