always printed something in that case, and error_message(-1)
prints a mess [krb5-appl/70]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9413
dc483132-0cff-0310-8789-
dd5450dbe970
+Thu Nov 14 14:30:28 1996 Barry Jaspan <bjaspan@mit.edu>
+
+ * krcp.c: don't print our own error message if kcmd returns -1 (it
+ always printed something in that case, and error_message(-1)
+ prints a mess [krb5-appl/70]
+
Mon Nov 11 23:38:05 1996 Mark Eichin <eichin@cygnus.com>
* krshd "plumbing" fixes
authopts,
0); /* Not any port # */
if (status) {
- fprintf(stderr,
- "%s: kcmd to host %s failed - %s\n",
- orig_argv[0], host,
- error_message(status));
+ if (status != -1)
+ fprintf(stderr,
+ "%s: kcmd to host %s failed - %s\n",
+ orig_argv[0], host,
+ error_message(status));
try_normal(orig_argv);
}
else {
authopts,
0); /* Not any port # */
if (status) {
- fprintf(stderr,
- "%s: kcmd to host %s failed - %s\n",
- orig_argv[0], host,
- error_message(status));
+ if (status != -1)
+ fprintf(stderr,
+ "%s: kcmd to host %s failed - %s\n",
+ orig_argv[0], host,
+ error_message(status));
try_normal(orig_argv);
} else {