git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
069cd72
)
aklog-chatty-20081025
author
Simon Wilkinson
<sxw@inf.ed.ac.uk>
Sun, 26 Oct 2008 00:59:55 +0000 (
00:59
+0000)
committer
Derrick Brashear
<shadow@dementia.org>
Sun, 26 Oct 2008 00:59:55 +0000 (
00:59
+0000)
LICENSE IPL10
make aklog not accidentally be chatty
src/aklog/aklog_main.c
patch
|
blob
|
history
diff --git
a/src/aklog/aklog_main.c
b/src/aklog/aklog_main.c
index
84caa86
..
9bd0403
100644
(file)
--- a/
src/aklog/aklog_main.c
+++ b/
src/aklog/aklog_main.c
@@
-518,8
+518,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);