commit:     4b5641aec1f591e15ba913706a41fc9ac51d9500
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 24 03:46:18 2023 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Mar 26 11:36:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b5641ae

pam.eclass: fix spelling

Thanks to codespell.

Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 eclass/pam.eclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/eclass/pam.eclass b/eclass/pam.eclass
index bfd165f9c1fe..22b59ad65e43 100644
--- a/eclass/pam.eclass
+++ b/eclass/pam.eclass
@@ -143,7 +143,7 @@ dopammod() {
 # Install pam module file <old name> as <new name> in the pam
 # modules' dir for current implementation
 newpammod() {
-       [[ $# -ne 2 ]] && die "newpammod requires two arguements"
+       [[ $# -ne 2 ]] && die "newpammod requires two arguments"
 
        if has pam ${IUSE} && ! use pam; then
                return 0;
@@ -159,7 +159,7 @@ newpammod() {
 # This function creates a pamd file which mimics system-auth file
 # for the given levels in the /etc/pam.d directory.
 pamd_mimic_system() {
-       [[ $# -lt 2 ]] && die "pamd_mimic_system requires at least two argments"
+       [[ $# -lt 2 ]] && die "pamd_mimic_system requires at least two 
arguments"
        pamd_mimic system-auth "$@"
 }
 
@@ -169,7 +169,7 @@ pamd_mimic_system() {
 # This function creates a pamd file which mimics the given stack
 # for the given levels in the /etc/pam.d directory.
 pamd_mimic() {
-       [[ $# -lt 3 ]] && die "pamd_mimic requires at least three argments"
+       [[ $# -lt 3 ]] && die "pamd_mimic requires at least three arguments"
 
        if has pam ${IUSE} && ! use pam; then
                return 0;

Reply via email to