[krbdev.mit.edu #6942] return status inconsistency

Stephen Isard via RT rt-comment at krbdev.mit.edu
Mon Aug 8 15:40:07 EDT 2011


Hello,

I don't know whether this qualifies as an actual bug, but it is at least an 
inconsistency.  With valid credentials, klist -s gives a return status of 0, as 
per the man page.  klist with no arguments gives a return status of 1.  The man 
page doesn't actually specify a return status for klist without -s.  I think 
the return status of 1 is connected with the Kerberos 4 report (I'm using 
Kerberos 5), because klist -5 has a return status of 0.  But still, shouldn't 
klist with no arguments give the same return status as klist -s?






More information about the krb5-bugs mailing list