mirror of
https://github.com/shadow-maint/shadow.git
synced 2026-01-26 14:03:17 +00:00
su: Fix typos in comment
Reviewed-by: Alejandro Colomar <alx@kernel.org> Reviewed-by: Ruihan Li <lrh2000@pku.edu.cn> Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
This commit is contained in:
parent
e37e43fd0a
commit
df90ed8a43
4
src/su.c
4
src/su.c
@ -368,7 +368,7 @@ static void prepare_pam_close_session (void)
|
||||
&& (EINTR == errno)
|
||||
&& (SIGTSTP == caught)) {
|
||||
caught = 0;
|
||||
/* Except for SIGTSTP, which request to
|
||||
/* Except for SIGTSTP, which requests to
|
||||
* stop the child.
|
||||
* We will SIGSTOP ourself on the next
|
||||
* waitpid round.
|
||||
@ -404,7 +404,7 @@ static void prepare_pam_close_session (void)
|
||||
if (sigprocmask (SIG_BLOCK, &ourset, NULL) != 0) {
|
||||
fprintf (stderr, _("%s: signal masking malfunction\n"), Prog);
|
||||
kill_child (0);
|
||||
/* Never reach (_exit called). */
|
||||
/* Never reached (_exit called). */
|
||||
}
|
||||
|
||||
/* Send SIGKILL to the child if it doesn't
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user