(main): don't print any error if reading the password was interrupted

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6968 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-09-14 21:48:04 +00:00
parent a82f041fd7
commit 8f8b7c05c8
2 changed files with 5 additions and 3 deletions

View File

@@ -114,8 +114,10 @@ main (int argc, char **argv)
switch (ret) {
case 0:
break;
case KRB5KRB_AP_ERR_BAD_INTEGRITY:
case KRB5KRB_AP_ERR_MODIFIED:
case KRB5_LIBOS_PWDINTR :
return 1;
case KRB5KRB_AP_ERR_BAD_INTEGRITY :
case KRB5KRB_AP_ERR_MODIFIED :
krb5_errx(context, 1, "Password incorrect");
break;
default: