Fix ^c on cluster edition; still broken for pid ns

This commit is contained in:
Bob Lantz
2015-06-04 01:53:42 -07:00
parent 31b29cc8bc
commit bd0f710078
+1 -1
View File
@@ -186,7 +186,7 @@ int main(int argc, char *argv[])
/* XXX We should not fork twice if we don't need to!! */
if (detachtty) {
/* detach from tty */
if (0 && getpgrp() == getpid()) {
if (getpgrp() == getpid()) {
switch(fork()) {
case -1:
perror("fork");