[28192] in CVS-changelog-for-Kerberos-V5

home help back first fref pref prev next nref lref last post

krb5 commit [krb5-1.11]: Clarify klist -s documentation

daemon@ATHENA.MIT.EDU (Tom Yu)
Thu Jan 16 15:47:22 2014

Date: Thu, 16 Jan 2014 15:46:35 -0500
From: Tom Yu <tlyu@mit.edu>
Message-Id: <201401162046.s0GKkZLG013851@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu

https://github.com/krb5/krb5/commit/89f2532295d2029c7c89d9dd62c0489757f30bc2
commit 89f2532295d2029c7c89d9dd62c0489757f30bc2
Author: Greg Hudson <ghudson@mit.edu>
Date:   Tue Dec 17 16:56:41 2013 -0500

    Clarify klist -s documentation
    
    The documentation for klist -s erroneously suggests that it doesn't
    affect the exit status behavior and that it merely checks for the
    existence of the ccache (only mentioning the expired ticket check at
    the end).  Make it clearer and simpler, but avoid going into a lot of
    detail about the nature of the expiration check.
    
    (cherry picked from commit bf1d3c7b0b060be4b3e9e793b633c07e489ac76f)
    
    ticket: 7830 (new)
    version_fixed: 1.11.5
    status: resolved

 doc/user/user_commands/klist.rst |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/doc/user/user_commands/klist.rst b/doc/user/user_commands/klist.rst
index d303f34..00ad0ff 100644
--- a/doc/user/user_commands/klist.rst
+++ b/doc/user/user_commands/klist.rst
@@ -64,10 +64,9 @@ OPTIONS
         a    anonymous
 
 **-s**
-    Causes klist to run silently (produce no output), but to still set
-    the exit status according to whether it finds the credentials
-    cache.  The exit status is '0' if klist finds a credentials cache,
-    and '1' if it does not or if the tickets are expired.
+    Causes klist to run silently (produce no output).  klist will exit
+    with status 1 if the credentials cache cannot be read or is
+    expired, and with status 0 otherwise.
 
 **-a**
     Display list of addresses in credentials.
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5

home help back first fref pref prev next nref lref last post