[SSSD] Re: [PATCH] SYSDB_SUDO: Remove useless test

2016-04-18 Thread Lukas Slebodnik
On (14/04/16 14:11), Pavel Březina wrote: >On 04/14/2016 10:29 AM, Lukas Slebodnik wrote: >>ehlo, >> >>Pavel B. recently added this code. >>I'm not sure why. >> >>LS >> > >Because we are inconsistent, in some functions it is possible to end up with >EOK and count = 0 and in some we interpret it as

[SSSD] Re: [PATCH] SYSDB_SUDO: Remove useless test

2016-04-14 Thread Pavel Březina
On 04/14/2016 10:29 AM, Lukas Slebodnik wrote: ehlo, Pavel B. recently added this code. I'm not sure why. LS Because we are inconsistent, in some functions it is possible to end up with EOK and count = 0 and in some we interpret it as ENOENT. But I agree this is not the case and we can end