Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-log produces no output
[gitweb.git]
/
pager.c
diff --git
a/pager.c
b/pager.c
index e5ba2738b681387495b840d39dfeca920c865616..f7b8e78712bbce2d4915ee9ff8a72cfbbef008c5 100644
(file)
--- a/
pager.c
+++ b/
pager.c
@@
-8,6
+8,7
@@
static void run_pager(const char *pager)
{
execlp(pager, pager, NULL);
+ execl("/bin/sh", "sh", "-c", pager, NULL);
}
void setup_pager(void)
@@
-47,5
+48,6
@@
void setup_pager(void)
setenv("LESS", "-S", 0);
run_pager(pager);
+ die("unable to execute pager '%s'", pager);
exit(255);
}