Fix typo in visiblepw description; from Joel Pickett

This commit is contained in:
Todd C. Miller
2011-12-18 14:20:56 -05:00
parent a24d86b32c
commit 1f97735fbb
3 changed files with 3 additions and 3 deletions

View File

@@ -296,7 +296,7 @@ struct sudo_defs_types sudo_defs_table[] = {
NULL, NULL,
}, { }, {
"visiblepw", T_FLAG, "visiblepw", T_FLAG,
N_("Allow sudo to prompt for a password even if it would be visisble"), N_("Allow sudo to prompt for a password even if it would be visible"),
NULL, NULL,
}, { }, {
"pwfeedback", T_FLAG, "pwfeedback", T_FLAG,

View File

@@ -219,7 +219,7 @@ sudoers_locale
"Locale to use while parsing sudoers: %s" "Locale to use while parsing sudoers: %s"
visiblepw visiblepw
T_FLAG T_FLAG
"Allow sudo to prompt for a password even if it would be visisble" "Allow sudo to prompt for a password even if it would be visible"
pwfeedback pwfeedback
T_FLAG T_FLAG
"Provide visual feedback at the password prompt when there is user input" "Provide visual feedback at the password prompt when there is user input"

View File

@@ -279,7 +279,7 @@ sudo_execve(struct command_details *details, struct command_status *cstat)
sigemptyset(&sa.sa_mask); sigemptyset(&sa.sa_mask);
/* /*
* Signals for forward to the child process (excluding SIGALRM and SIGCHLD). * Signals to forward to the child process (excluding SIGALRM and SIGCHLD).
* Note: HP-UX select() will not be interrupted if SA_RESTART set. * Note: HP-UX select() will not be interrupted if SA_RESTART set.
*/ */
sa.sa_flags = SA_INTERRUPT; /* do not restart syscalls */ sa.sa_flags = SA_INTERRUPT; /* do not restart syscalls */