diff options
author | Andreas Ericsson <exon@op5.se> | 2005-11-14 17:41:01 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-15 00:19:32 -0800 |
commit | bce8230d5d897a738cc004954df71f50a40295db (patch) | |
tree | 4686035a39e23998a56858bf1b797b457e12156b /daemon.c | |
parent | 8b649e27dd26608098605ded691b497ffa032500 (diff) | |
download | git-bce8230d5d897a738cc004954df71f50a40295db.tar.gz |
git-daemon: --inetd implies --syslog
Otherwise nothing is logged anywhere, which is a Bad Thing.
Signed-off-by: Andreas Ericsson <ae@op5.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'daemon.c')
-rw-r--r-- | daemon.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -628,8 +628,9 @@ int main(int argc, char **argv) if (inetd_mode) { fclose(stderr); //FIXME: workaround + log_syslog = 1; return execute(); - } else { - return serve(port); } + + return serve(port); } |