aboutsummaryrefslogtreecommitdiffstats
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
parent09a3aa5ae7781a0e461373ede6bc10129cb3f5de (diff)
downloadpkg-cgit-e9cbdf64632fbe64d6b0c4974ac947ef954938e7.zip
pkg-cgit-e9cbdf64632fbe64d6b0c4974ac947ef954938e7.tar.gz
pkg-cgit-e9cbdf64632fbe64d6b0c4974ac947ef954938e7.tar.bz2
ui-shared: redirect should not exit early for cache
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-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)