diff options
author | Junio C Hamano <junkio@cox.net> | 2006-04-21 13:14:30 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-04-21 13:14:30 -0700 |
commit | 285755127a1ce800ce6a95516a37dd342c57c562 (patch) | |
tree | 7655e7145dd4884392fdd7ae2f8fe48dd724528e /pager.c | |
parent | 3c144afe50b58875a41ea56ef118f41be7bf605a (diff) | |
parent | 34fd1c9ac5845d541e3196983df7f993e751b544 (diff) | |
download | git-285755127a1ce800ce6a95516a37dd342c57c562.tar.gz |
Merge branch 'fix'
* fix:
git-log produces no output
Diffstat (limited to 'pager.c')
-rw-r--r-- | pager.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); } |