login: close PAM session on errors as well, not only on success
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 22 Jan 2019 16:00:14 +0000 (17:00 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 22 Jan 2019 16:04:16 +0000 (17:04 +0100)
commitdb5a6daa7f6fe92cdb70e53aec2f3717b6892b2a
treeea86b8ad680dec04a5b3e0f3dfe6574775d36c0b
parent414be6c1112f8fa5d444f902ca0061f631a46522
login: close PAM session on errors as well, not only on success

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
loginutils/login.c