summaryrefslogtreecommitdiffstats
path: root/src/confdb/confdb.c
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2013-01-02 11:09:32 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-01-02 17:39:44 +0100
commitfc647b8eb5bca901658dedf3dbda2f35c63a86f2 (patch)
treed27114c431c13a4766373f43fdb6104cb5a4a31d /src/confdb/confdb.c
parent0e6c9d03cacf24de4265ee0f902c216ba5a131c9 (diff)
downloadsssd2-fc647b8eb5bca901658dedf3dbda2f35c63a86f2.tar.gz
sssd2-fc647b8eb5bca901658dedf3dbda2f35c63a86f2.tar.xz
sssd2-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/confdb/confdb.c')
0 files changed, 0 insertions, 0 deletions