Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
lstat_cache(): print a warning if doing ping-pong between cache types
[gitweb.git]
/
daemon.c
diff --git
a/daemon.c
b/daemon.c
index 540700ee844eb47c417c10a04a85af9af5b23569..d93cf960f9eaf05eec11b67746142e6e94d719cb 100644
(file)
--- a/
daemon.c
+++ b/
daemon.c
@@
-937,6
+937,8
@@
int main(int argc, char **argv)
gid_t gid = 0;
int i;
+ git_extract_argv0_path(argv[0]);
+
for (i = 1; i < argc; i++) {
char *arg = argv[i];