From: Ezra Peisach Date: Tue, 6 Aug 1996 01:30:03 +0000 (+0000) Subject: Reset exit_status at end of kdb5_stash. We expect to get an error if X-Git-Tag: krb5-1.0-beta7~173 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7ad051dae27264c808049f3c265c1c03367491a2;p=krb5.git Reset exit_status at end of kdb5_stash. We expect to get an error if the stashed key is not already in the DB... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8909 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin/dbutil/ChangeLog b/src/kadmin/dbutil/ChangeLog index d463bea8c..afc9c3909 100644 --- a/src/kadmin/dbutil/ChangeLog +++ b/src/kadmin/dbutil/ChangeLog @@ -1,3 +1,8 @@ +Mon Aug 5 21:24:47 1996 Ezra Peisach + + * kdb5_stash.c (kdb5_stash): Ignore (expected) failure in stashing + key when key not already present in returning exit status. + Mon Aug 5 14:36:47 1996 Barry Jaspan * all files: reworked for non-ss usage; kdb5_util_ct.ct and diff --git a/src/kadmin/dbutil/kdb5_stash.c b/src/kadmin/dbutil/kdb5_stash.c index 62a52e371..7938b3e9b 100644 --- a/src/kadmin/dbutil/kdb5_stash.c +++ b/src/kadmin/dbutil/kdb5_stash.c @@ -140,5 +140,6 @@ char *argv[]; exit_status++; return; } + exit_status = 0; return; }