projects
/
platform
/
upstream
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 2.19.1
[platform/upstream/git.git]
/
daemon.c
diff --git
a/daemon.c
b/daemon.c
index
fe833ea
..
9d2e0d2
100644
(file)
--- a/
daemon.c
+++ b/
daemon.c
@@
-1459,7
+1459,7
@@
int cmd_main(int argc, const char **argv)
die("base-path '%s' does not exist or is not a directory",
base_path);
- if (
inetd_mode
) {
+ if (
log_destination != LOG_DESTINATION_STDERR
) {
if (!freopen("/dev/null", "w", stderr))
die_errno("failed to redirect stderr to /dev/null");
}