Skip to content

Commit

Permalink
iprop master: Don't ignore flock() result
Browse files Browse the repository at this point in the history
  • Loading branch information
nicowilliams committed May 20, 2015
1 parent 56b67ac commit 854aaab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kadm5/ipropd_master.c
Expand Up @@ -526,7 +526,7 @@ send_complete (krb5_context context, slave *s, const char *database,
* our lock to a shared one.
*/

flock(fd, LOCK_EX);
ret = flock(fd, LOCK_EX);
if (ret == -1) {
ret = errno;
krb5_warn(context, ret, "flock(fd, LOCK_EX)");
Expand Down

0 comments on commit 854aaab

Please sign in to comment.