diff options
-rw-r--r-- | src/providers/krb5/krb5_utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/providers/krb5/krb5_utils.c b/src/providers/krb5/krb5_utils.c index bb933d7f..d0968735 100644 --- a/src/providers/krb5/krb5_utils.c +++ b/src/providers/krb5/krb5_utils.c @@ -851,6 +851,8 @@ static errno_t sss_destroy_ccache(struct sss_krb5_ccache *cc) KRB5_DEBUG(SSSDBG_OP_FAILURE, cc->context, kerr); DEBUG(SSSDBG_CRIT_FAILURE, ("krb5_cc_destroy failed.\n")); ret = EIO; + } else { + ret = EOK; } /* krb5_cc_destroy frees cc->ccache in all events */ |