auto-detect changed prefix and/or changed build flags
[gitweb.git] / pager.c
diff --git a/pager.c b/pager.c
index f7b8e78712bbce2d4915ee9ff8a72cfbbef008c5..9a30939016620072f319b5fef81d0c913513a641 100644 (file)
--- a/pager.c
+++ b/pager.c
@@ -21,7 +21,7 @@ void setup_pager(void)
                return;
        if (!pager)
                pager = "less";
-       else if (!*pager)
+       else if (!*pager || !strcmp(pager, "cat"))
                return;
 
        if (pipe(fd) < 0)