mirror of https://github.com/CISOfy/lynis.git
Merge pull request #863 from topimiettinen/pam-ignore-dash
pam: ignore leading dash
This commit is contained in:
commit
4e0357d728
|
@ -96,7 +96,7 @@
|
|||
PAM_CONTROL_OPTIONS="-"
|
||||
PAM_MODULE="-"
|
||||
PAM_MODULE_OPTIONS="-"
|
||||
PAM_TYPE=$(echo ${LINE} | awk '{ print $1 }')
|
||||
PAM_TYPE=$(echo ${LINE} | awk '{ print $1 }' | sed 's/^ *-//g')
|
||||
PARSELINE=0
|
||||
case ${PAM_TYPE} in
|
||||
"@include")
|
||||
|
|
Loading…
Reference in New Issue