From: Simon Wilkinson Date: Sun, 26 Oct 2008 01:00:07 +0000 (+0000) Subject: DEVEL15-aklog-chatty-20081025 X-Git-Tag: openafs-devel-1_5_55~26 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=26baee9127d2cc4236ac56630f42b9a5b5ab80ca;p=packages%2Fo%2Fopenafs.git DEVEL15-aklog-chatty-20081025 LICENSE IPL10 make aklog not accidentally be chatty (cherry picked from commit f2014112bcc27ecc1426ef078af7456285d839d2) --- diff --git a/src/aklog/aklog_main.c b/src/aklog/aklog_main.c index 5dbbf2bc3..b7b656f20 100644 --- a/src/aklog/aklog_main.c +++ b/src/aklog/aklog_main.c @@ -528,8 +528,10 @@ static int auth_to_cell(krb5_context context, char *cell, char *realm) "%s.\n", progname, cell_to_use); exit(AKLOG_MISC); } - printf("We've deduced that we need to authenticate to" - " realm %s.\n", realm_of_cell); + if (dflag) { + printf("We've deduced that we need to authenticate" + " to realm %s.\n", realm_of_cell); + } } status = get_credv5(context, AFSKEY, cell_to_use, realm_of_cell, &v5cred);