diff options
Diffstat (limited to 'scan-tree.c')
-rw-r--r-- | scan-tree.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scan-tree.c b/scan-tree.c index 6a2f65a..1e3b43d 100644 --- a/scan-tree.c +++ b/scan-tree.c | |||
@@ -137,8 +137,6 @@ static void add_repo(const char *base, struct strbuf *path, repo_config_fn fn) | |||
137 | repo->path = xstrdup(path->buf); | 137 | repo->path = xstrdup(path->buf); |
138 | while (!repo->owner) { | 138 | while (!repo->owner) { |
139 | if ((pwd = getpwuid(st.st_uid)) == NULL) { | 139 | if ((pwd = getpwuid(st.st_uid)) == NULL) { |
140 | fprintf(stderr, "Error reading owner-info for %s: %s (%d)\n", | ||
141 | path->buf, strerror(errno), errno); | ||
142 | break; | 140 | break; |
143 | } | 141 | } |
144 | if (pwd->pw_gecos) | 142 | if (pwd->pw_gecos) |