summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-03-24 03:46:18 +0000
committerUlrich Müller <ulm@gentoo.org>2023-03-26 13:36:05 +0200
commit4b5641aec1f591e15ba913706a41fc9ac51d9500 (patch)
tree12c321774534e26abbc3419df7ba7eda56d5eade
parentoffice-ext-r1.eclass: fix spelling (diff)
downloadgentoo-4b5641aec1f591e15ba913706a41fc9ac51d9500.tar.gz
gentoo-4b5641aec1f591e15ba913706a41fc9ac51d9500.tar.bz2
gentoo-4b5641aec1f591e15ba913706a41fc9ac51d9500.zip
pam.eclass: fix spelling
Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--eclass/pam.eclass6
1 files 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;