Commit 443a821c authored by Roderich Schupp's avatar Roderich Schupp Committed by Daiki Ueno

Fixes #26: restore behaviour before b22d058a when control file isn't found

parent 9e982a5c
......@@ -676,6 +676,8 @@ unlock_keyring (pam_handle_t *ph,
res = get_control_file(ph, control);
if (res != GKD_CONTROL_RESULT_OK) {
syslog (GKR_LOG_ERR, "gkr-pam: unable to locate daemon control file");
if (res == GKD_CONTROL_RESULT_NO_DAEMON && need_daemon)
*need_daemon = 1;
return PAM_SERVICE_ERR;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment