diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2010-08-03 18:39:33 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-08-03 13:50:29 -0400 |
commit | 67f0e6de26a6d46dceb4f45c0c25b01ae2f29940 (patch) | |
tree | cf1fae2c1c01129ba127a315f345e0f3b1a58746 /src/providers | |
parent | 90983939761dcfd15bac4e78265d5b6b38b573ae (diff) | |
download | sssd_unused-67f0e6de26a6d46dceb4f45c0c25b01ae2f29940.tar.gz sssd_unused-67f0e6de26a6d46dceb4f45c0c25b01ae2f29940.tar.xz sssd_unused-67f0e6de26a6d46dceb4f45c0c25b01ae2f29940.zip |
Fix check_time_rule() return value on failure
The value returned in the 'done:' label was always EOK which is wrong as
any parsing errors are not returned to the caller.
Fixes: #583
Diffstat (limited to 'src/providers')
-rw-r--r-- | src/providers/ipa/ipa_timerules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_timerules.c b/src/providers/ipa/ipa_timerules.c index d55a1542..28a61d7b 100644 --- a/src/providers/ipa/ipa_timerules.c +++ b/src/providers/ipa/ipa_timerules.c @@ -1122,7 +1122,7 @@ int check_time_rule(TALLOC_CTX *mem_ctx, ret = EOK; done: talloc_free(ctx); - return EOK; + return ret; } /* |