Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'pj/remote-set-branches-usage-fix'
[gitweb.git]
/
daemon.c
diff --git
a/daemon.c
b/daemon.c
index 15ce918a21e1cce6cb603caa8638e4d854eee9dd..ab21e66b2fb69015c3085761b344b11053c67f4a 100644
(file)
--- a/
daemon.c
+++ b/
daemon.c
@@
-1086,6
+1086,8
@@
static int serve(struct string_list *listen_addr, int listen_port,
drop_privileges(cred);
+ loginfo("Ready to rumble");
+
return service_loop(&socklist);
}
@@
-1270,10
+1272,8
@@
int main(int argc, char **argv)
if (inetd_mode || serve_mode)
return execute();
- if (detach)
{
+ if (detach)
daemonize();
- loginfo("Ready to rumble");
- }
else
sanitize_stdfds();