projects
/
rxpd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
130e523
)
dont change the current dir when daemonize
author
Christian Thaeter
<ct@pipapo.org>
Tue, 16 Oct 2007 20:05:27 +0000
(22:05 +0200)
committer
Christian Thaeter
<ct@pipapo.org>
Tue, 16 Oct 2007 20:05:27 +0000
(22:05 +0200)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
961c6eb
..
7540e10
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-172,7
+172,7
@@
main (int argc, char** argv)
}
}
- if (rxpd->daemonize && daemon(
0
, 0))
+ if (rxpd->daemonize && daemon(
1
, 0))
rxpd_die ("Couldn't daemonize\n");
if (!rxpd->basedir)