diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2020-03-21 15:56:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-21 15:56:10 +0300 |
commit | 4e0357d7282501d607894a70f22579babaca9857 (patch) | |
tree | d2ff8430aebd1874482a1a02560374db1d28fca1 /plugins | |
parent | 9241e7c9259751ce854b2636131e4d146ec3488d (diff) | |
parent | 9087de0dacbe3184f8dbe86e1a7525a44dda8473 (diff) |
Merge pull request #863 from topimiettinen/pam-ignore-dash
pam: ignore leading dash
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/plugin_pam_phase1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/plugin_pam_phase1 b/plugins/plugin_pam_phase1 index 46f2e67a..457c186a 100644 --- a/plugins/plugin_pam_phase1 +++ b/plugins/plugin_pam_phase1 @@ -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") |