That way they will still get waitpid'd on and won't stay zombies.
Unified · Split
| @@ -37,7 +37,6 @@ void KillAuthChildSigHandler(void) { · 36 unmodified lines | |||
| 37 | if (auth_child_pid != 0) { | 37 | if (auth_child_pid != 0) { |
| 38 | KillPgrp(auth_child_pid); | 38 | KillPgrp(auth_child_pid); |
| 39 | } | 39 | } |
| 40 | auth_child_pid = 0; | ||
| 41 | } | 40 | } |
| 42 | 41 | ||
| 43 | /*! \brief Return whether the wake-up keypress should be discarded and not be | 42 | /*! \brief Return whether the wake-up keypress should be discarded and not be |
| @@ -35,7 +35,6 @@ void KillAllSaverChildrenSigHandler(void) { · 34 unmodified lines | |||
| 35 | if (saver_child_pid[i] != 0) { | 35 | if (saver_child_pid[i] != 0) { |
| 36 | KillPgrp(saver_child_pid[i]); | 36 | KillPgrp(saver_child_pid[i]); |
| 37 | } | 37 | } |
| 38 | saver_child_pid[i] = 0; | ||
| 39 | } | 38 | } |
| 40 | } | 39 | } |
| 41 | 40 | ||