From 7ad051dae27264c808049f3c265c1c03367491a2 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Tue, 6 Aug 1996 01:30:03 +0000 Subject: [PATCH] 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 --- src/kadmin/dbutil/ChangeLog | 5 +++++ src/kadmin/dbutil/kdb5_stash.c | 1 + 2 files changed, 6 insertions(+) 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; } -- 2.26.2