return non-zero for certain error conditions.
ticket: 1437
target_version: 1.3.2
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15754
dc483132-0cff-0310-8789-
dd5450dbe970
+2003-08-01 Tom Yu <tlyu@mit.edu>
+
+ * kinit.c (main): Apply patch from Stephen Grau to correctly
+ return non-zero for certain error conditions.
+
2003-05-29 Ken Raeburn <raeburn@mit.edu>
* kinit.c (KRB4_BACKUP_DEFAULT_LIFE_SECS): Update to one day.
k5_end(&k5);
k4_end(&k4);
- if ((got_k5 && !authed_k5) || (got_k4 && !authed_k4))
+ if ((got_k5 && !authed_k5) || (got_k4 && !authed_k4) ||
+ (!got_k5 && !got_k4))
exit(1);
return 0;
}