]> git.cameronkatri.com Git - cgit.git/commitdiff
ui-shared: redirect should not exit early for cache
authorJason A. Donenfeld <Jason@zx2c4.com>
Fri, 26 Feb 2016 12:24:35 +0000 (13:24 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 26 Feb 2016 12:24:35 +0000 (13:24 +0100)
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
ui-shared.c

index 3b2dc06ceef471ecfc1d8bae23589884a681c5bb..9a38aa9e0ac801df6da09eeae6f76b0ce43fcc50 100644 (file)
@@ -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)