From 84d3b211101a583c7afa7f08ab307207aba8454b Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Mon, 25 May 2009 21:48:49 +0000 Subject: [PATCH] On error getting forwarded creds, actually print out the error git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22384 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/kcmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/appl/bsd/kcmd.c b/src/appl/bsd/kcmd.c index 199056944..16c8e0438 100644 --- a/src/appl/bsd/kcmd.c +++ b/src/appl/bsd/kcmd.c @@ -551,7 +551,8 @@ kcmd(sock, ahost, rport, locuser, remuser, cmd, fd2p, service, realm, 0, options & OPTS_FORWARDABLE_CREDS, &outbuf); if (status) { - fprintf(stderr, "kcmd: Error getting forwarded creds\n"); + fprintf(stderr, "kcmd: Error getting forwarded creds: %s\n", + error_message(status)); goto bad2; } -- 2.26.2