Skip to content
Snippets Groups Projects
Commit a8f01006 authored by Christopher J. Morrone's avatar Christopher J. Morrone
Browse files

Add helpful debug message

parent 0615b525
No related branches found
No related tags found
No related merge requests found
...@@ -552,8 +552,14 @@ _check_job_credential(slurm_cred_t cred, uint32_t jobid, ...@@ -552,8 +552,14 @@ _check_job_credential(slurm_cred_t cred, uint32_t jobid,
* First call slurm_cred_verify() so that all valid * First call slurm_cred_verify() so that all valid
* credentials are checked * credentials are checked
*/ */
if (((rc = slurm_cred_verify(conf->vctx, cred, &arg)) < 0) && !user_ok) if ((rc = slurm_cred_verify(conf->vctx, cred, &arg)) < 0) {
return SLURM_ERROR; if (!user_ok) {
return SLURM_ERROR;
} else {
debug("_check_job_credential slurm_cred_verify failed:"
" %m, but continuing anyway.");
}
}
/* /*
* If uid is the slurm user id or root, do not bother * If uid is the slurm user id or root, do not bother
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment