X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=pager.c;h=ca002f9f791b6cdb8257836be9e13fe648afa1cc;hb=bb034f839a396cf0660024a59bbff61f8ef0c5af;hp=0376953cb1b8a4095346e0d12ecef6e7db9c48c9;hpb=cab31fa076253fcfafa7572c24e40f12a1e09ae3;p=git.git diff --git a/pager.c b/pager.c index 0376953cb..ca002f9f7 100644 --- a/pager.c +++ b/pager.c @@ -57,6 +57,7 @@ void setup_pager(void) /* return in the child */ if (!pid) { dup2(fd[1], 1); + dup2(fd[1], 2); close(fd[0]); close(fd[1]); return;