about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-09-30 19:49:37 +0000
committerJune McEnroe <june@causal.agency>2022-02-13 12:20:09 -0500
commit065ee253aef368e99899cde3839c2e801a95fb27 (patch)
tree76786028e64024bbc423d0160e6fb1d26e6667ce
parentRemove default favicon (diff)
downloadcgit-pink-065ee253aef368e99899cde3839c2e801a95fb27.tar.gz
cgit-pink-065ee253aef368e99899cde3839c2e801a95fb27.zip
Silence owner-info error
cgit runs in a chroot. It is normal that it cannot look up user
info in /etc/passwd.
Diffstat (limited to '')
-rw-r--r--scan-tree.c2
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)
 	repo->path = xstrdup(path->buf);
 	while (!repo->owner) {
 		if ((pwd = getpwuid(st.st_uid)) == NULL) {
-			fprintf(stderr, "Error reading owner-info for %s: %s (%d)\n",
-				path->buf, strerror(errno), errno);
 			break;
 		}
 		if (pwd->pw_gecos)
Set Accept-Encoding in titleJune McEnroe Because apparently it's fine for servers to respond with Content-Encoding you didn't ask for, and curl won't decode it if you didn't ask for it. 2019-09-08Set title User-AgentJune McEnroe Some things don't like you if you don't send one. 2019-09-07Add -x flag to titleJune McEnroe 2019-09-07Ignore SIGPIPE in relayJune McEnroe Allows restarting consumers safely. 2019-09-07Add A Memory Called EmpireJune McEnroe 2019-09-05Handle lack of Content-TypeJune McEnroe 2019-09-05Use CURLINFO_CONTENT_TYPEJune McEnroe Oops, didn't see this. 2019-09-05Decode entities in titlesJune McEnroe 2019-09-05Print title as soon as it's availableJune McEnroe 2019-09-05Use CURL_PREFIX to set flagsJune McEnroe 2019-09-05Add titleJune McEnroe 2019-09-04Add Avorter n'est pas tuerJune McEnroe 2019-08-29Unset executable on shell scriptsJune McEnroe 2019-08-29Add long-missing setopt to bin.7June McEnroe 2019-08-29Add editJune McEnroe