The shell exits by default upon receipt of a SIGHUP. Before exiting, an interactive shell resends the SIGHUP to all jobs, running or stopped.
也就是说interactive shell只会将SIGHUP信号给子任务