Remove vhangup as it was hanging up the wrong tty. Should really

vhangup in the child after it as set its tty.
This commit is contained in:
Todd C. Miller
2009-09-07 15:07:48 +00:00
parent bd9854db50
commit 10fa87dfa8

View File

@@ -470,10 +470,6 @@ script_execv(path, argv)
}
term_restore(STDIN_FILENO);
#ifdef HAVE_VHANGUP
signal(SIGHUP, SIG_IGN);
vhangup();
#endif
if (WIFEXITED(child_status))
exit(WEXITSTATUS(child_status));
if (WIFSIGNALED(child_status))