diff options
author | Pavel Březina <pbrezina@redhat.com> | 2013-01-02 11:09:32 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-02 17:39:44 +0100 |
commit | fc647b8eb5bca901658dedf3dbda2f35c63a86f2 (patch) | |
tree | d27114c431c13a4766373f43fdb6104cb5a4a31d /src/providers/sssd_be.exports | |
parent | 0e6c9d03cacf24de4265ee0f902c216ba5a131c9 (diff) | |
download | sssd-fc647b8eb5bca901658dedf3dbda2f35c63a86f2.tar.gz sssd-fc647b8eb5bca901658dedf3dbda2f35c63a86f2.tar.bz2 sssd-fc647b8eb5bca901658dedf3dbda2f35c63a86f2.zip |
set ret to EOK after for loop in sdap_sudo_purge_sudoers
If we are unable to delete some rule from cache we print a debug
message and ignore the error. Thus we should set ret to EOK after
the for loop otherwise we return whether the last rule was deleted
successfully or not.
This also removes compilation warning that ret may be used
uninitialized (when we don't go inside the loop at all).
Diffstat (limited to 'src/providers/sssd_be.exports')
0 files changed, 0 insertions, 0 deletions