chiark
/
gitweb
/
~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Useful functions (u_daemon and versioncmp) moved to mLib.
[tripe]
/
server
/
tripe.c
diff --git
a/server/tripe.c
b/server/tripe.c
index d98a2af45bf5369839cb21e366f770f3d27de31b..f9cf0e86ecca9956ec6d8ea8644cd15055f99efb 100644
(file)
--- a/
server/tripe.c
+++ b/
server/tripe.c
@@
-330,7
+330,7
@@
int main(int argc, char *argv[])
km_init(kr_priv, kr_pub, tag_priv);
a_init(csock);
if (f & f_daemon) {
- if (
u_daemon
())
+ if (
daemonize
())
die(EXIT_FAILURE, "couldn't become a daemon: %s", strerror(errno));
a_daemon();
}