forked from enlightenment/enlightenment
desklock - dont ret 1 on failure to auth. only on failure to init!
SVN revision: 55923
This commit is contained in:
parent
fb51556c67
commit
bbab244193
|
@ -718,7 +718,7 @@ _desklock_auth(char *passwd)
|
|||
if (pamerr != PAM_SUCCESS)
|
||||
{
|
||||
free(current_user);
|
||||
exit(pamerr);
|
||||
exit(1);
|
||||
}
|
||||
pamerr = pam_authenticate(da.pam.handle, 0);
|
||||
pam_end(da.pam.handle, pamerr);
|
||||
|
@ -730,7 +730,7 @@ _desklock_auth(char *passwd)
|
|||
exit(0);
|
||||
}
|
||||
free(current_user);
|
||||
exit(1);
|
||||
exit(-1);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue