changeset 30741 | fde9692a02c0 |
parent 30693 | baee0f47b533 |
child 30884 | a68510b69f41 |
--- a/contrib/chg/chg.c Tue Jan 10 06:59:31 2017 +0800 +++ b/contrib/chg/chg.c Tue Jan 10 06:59:39 2017 +0800 @@ -429,10 +429,6 @@ } setupsignalhandler(hgc_peerpid(hgc), hgc_peerpgid(hgc)); - const char *pagercmd = hgc_getpager(hgc, argv + 1, argc - 1); - pid_t pagerpid = setuppager(pagercmd); - if (pagerpid) - hgc_attachio(hgc); /* reattach to pager */ int exitcode = hgc_runcommand(hgc, argv + 1, argc - 1); restoresignalhandler(); hgc_close(hgc);