vhangup in the child after it as set its tty.
@@ -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))
The note is not visible to the blocked user.