URL:
https://github.com/SSSD/sssd/pull/5317
Author: alexey-tikhonov
Title: #5317: CLIENT:PAM: fixed missed return check
Action: opened
PR body:
"""
Return code of `prompt_2fa()` wasn't checked and
thus its fail wasn't properly processed.
Spotted with a help of following warning:
```
Error: CLANG_WARNING:
sssd-2.3.2/src/sss_client/pam_sss.c:2355:21: warning: Value stored to 'ret' is
never read
# ret = prompt_2fa(pamh, pi, _("First Factor (Current Password):
"),
# ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
"""
To pull the PR as Git branch:
git remote add ghsssd
https://github.com/SSSD/sssd
git fetch ghsssd pull/5317/head:pr5317
git checkout pr5317