Reset exit_status at end of kdb5_stash. We expect to get an error if
authorEzra Peisach <epeisach@mit.edu>
Tue, 6 Aug 1996 01:30:03 +0000 (01:30 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 6 Aug 1996 01:30:03 +0000 (01:30 +0000)
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
src/kadmin/dbutil/kdb5_stash.c

index d463bea8c4083e7b2ce5e938a7696c89db9976b1..afc9c39095146b6fe9716ff1e308c7ba6845b037 100644 (file)
@@ -1,3 +1,8 @@
+Mon Aug  5 21:24:47 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
+
+       * 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  <bjaspan@DUN-DUN-NOODLES>
 
        * all files: reworked for non-ss usage; kdb5_util_ct.ct and
index 62a52e371dca7f4ea93a8abeae1eea84863e7e1a..7938b3e9b01eb25b9232cc9bcd9a68749239bbc8 100644 (file)
@@ -140,5 +140,6 @@ char *argv[];
        exit_status++; return; 
     }
 
+    exit_status = 0;
     return; 
 }