From 7990cecd1716547e70d67f18481dd633d98de01c Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Sat, 27 Jul 1996 06:23:00 +0000 Subject: [PATCH] * kdb5_create.c (kdb5_create): Ignore (expected) failure in open_db_and_mkey when creating database in returning exit status. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8851 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/dbutil/ChangeLog | 6 ++++++ src/kadmin/dbutil/kdb5_create.c | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/kadmin/dbutil/ChangeLog b/src/kadmin/dbutil/ChangeLog index 3cb09a08b..8008fd216 100644 --- a/src/kadmin/dbutil/ChangeLog +++ b/src/kadmin/dbutil/ChangeLog @@ -1,3 +1,9 @@ +Sat Jul 27 02:16:01 1996 Ezra Peisach + + * kdb5_create.c (kdb5_create): Ignore (expected) failure in + open_db_and_mkey when creating database in returning exit + status. + Tue Jul 23 17:03:42 1996 Tom Yu * Makefile.in: add dependency for kdb5_util_ct.o diff --git a/src/kadmin/dbutil/kdb5_create.c b/src/kadmin/dbutil/kdb5_create.c index b7520d98d..2e22e2294 100644 --- a/src/kadmin/dbutil/kdb5_create.c +++ b/src/kadmin/dbutil/kdb5_create.c @@ -316,7 +316,10 @@ master key name '%s'\n", /* now open the database */ open_db_and_mkey(); - + + exit_status = 0; /* It's OK if we get errors in open_db_and_mkey */ + /* We do not have the key stashed in the database! */ + return; } -- 2.26.2