contrib/chg/chg.c
changeset 30690 e9ec42634ec8
parent 30689 9fa7255d4abd
child 30691 7adb60660496
--- a/contrib/chg/chg.c	Mon Jan 02 14:02:47 2017 +0000
+++ b/contrib/chg/chg.c	Mon Jan 02 14:04:35 2017 +0000
@@ -429,7 +429,7 @@
 				 gethgcmd());
 	}
 
-	setupsignalhandler(hgc);
+	setupsignalhandler(hgc_peerpid(hgc), hgc_peerpgid(hgc));
 	pagerpid = setuppager(hgc, argv + 1, argc - 1);
 	int exitcode = hgc_runcommand(hgc, argv + 1, argc - 1);
 	restoresignalhandler();