Skip to content
Snippets Groups Projects
Commit 324f905d authored by Moe Jette's avatar Moe Jette
Browse files

Fix typo in compare from = to ==

parent c2ef6c0d
No related branches found
No related tags found
No related merge requests found
...@@ -2038,7 +2038,7 @@ update_job (job_desc_msg_t * job_specs, uid_t uid) ...@@ -2038,7 +2038,7 @@ update_job (job_desc_msg_t * job_specs, uid_t uid)
error ("update_job: job_id %u does not exist.", job_specs -> job_id); error ("update_job: job_id %u does not exist.", job_specs -> job_id);
return ESLURM_INVALID_JOB_ID; return ESLURM_INVALID_JOB_ID;
} }
if ( (uid == 0) || (uid = getuid ()) ) if ( (uid == 0) || (uid == getuid ()) )
super_user = 1; super_user = 1;
if ( (job_ptr->user_id != uid) && if ( (job_ptr->user_id != uid) &&
(super_user == 0) ) { (super_user == 0) ) {
......
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