Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'db/push-sign-if-asked'
[gitweb.git]
/
daemon.c
diff --git
a/daemon.c
b/daemon.c
index d3d3e433e370e7a21dad829b5861172e92a6d72f..f9eb296888c37c8f2a523f3941be027ddb36df3c 100644
(file)
--- a/
daemon.c
+++ b/
daemon.c
@@
-1376,7
+1376,7
@@
int main(int argc, char **argv)
sanitize_stdfds();
if (pid_file)
- write_file(pid_file,
1, "%"PRIuMAX"\n"
, (uintmax_t) getpid());
+ write_file(pid_file,
"%"PRIuMAX
, (uintmax_t) getpid());
/* prepare argv for serving-processes */
cld_argv = xmalloc(sizeof (char *) * (argc + 2));