about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-02-26 13:24:35 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2016-02-26 13:24:35 +0100
commite9cbdf64632fbe64d6b0c4974ac947ef954938e7 (patch)
tree6babdad95d28f3832ba02318d85e16313c8f47e9
parentabout: path_info might not be valid (diff)
downloadcgit-pink-e9cbdf64632fbe64d6b0c4974ac947ef954938e7.tar.gz
cgit-pink-e9cbdf64632fbe64d6b0c4974ac947ef954938e7.zip
ui-shared: redirect should not exit early for cache
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--ui-shared.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c
index 3b2dc06..9a38aa9 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -702,7 +702,6 @@ void cgit_redirect(const char *url, bool permanent)
 	html("Location: ");
 	html_url_path(url);
 	html("\n\n");
-	exit(0);
 }
 
 static void print_rel_vcs_link(const char *url)