about summary refs log tree commit diff
path: root/third_party/cgit/ui-repolist.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/cgit/ui-repolist.c')
-rw-r--r--third_party/cgit/ui-repolist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/cgit/ui-repolist.c b/third_party/cgit/ui-repolist.c
index 7cf763891fcc..529a2038baa2 100644
--- a/third_party/cgit/ui-repolist.c
+++ b/third_party/cgit/ui-repolist.c
@@ -20,7 +20,7 @@ static time_t read_agefile(const char *path)
 
 	if (readfile(path, &buf, &size)) {
 		free(buf);
-		return -1;
+		return 0;
 	}
 
 	if (parse_date(buf, &date_buf) == 0)