Oui en fait
The shell exits by default upon receipt of a SIGHUP. Before exiting,
an interactive shell resends the SIGHUP to all jobs, running or
stopped. Stopped jobs are sent SIGCONT to ensure that they receive the
SIGHUP. To prevent the shell from sending the signal to a particular
job, it should be removed from the jobs table with the disown builtin
(see SHELL BUILTIN COMMANDS below) or marked to not receive SIGHUP
using disown -h.
(SIGHUP (« raccrocher ») est le signal qu'il reçoit si on lui ferme son terminal)
Sinon si tu lances un truc en background et que tu quittes le shell normalement (avec exit) ça dépend apparemment : « If the huponexit shell option has been set with shopt, bash sends a SIGHUP to all jobs when an interactive login shell exits. »
Bien sûr ensuite tous les processus ne se terminent pas forcément dès qu'il reçoivent SIGHUP, mais pour make a priori c'est le cas ^^