* init_db (qualname): If "kdb5_util create" fails, exit
authorKen Raeburn <raeburn@mit.edu>
Thu, 19 Dec 2002 01:53:29 +0000 (01:53 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 19 Dec 2002 01:53:29 +0000 (01:53 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15055 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/testing/scripts/ChangeLog
src/kadmin/testing/scripts/init_db

index 7fb6f176ef10960269e2338ba3ffce0929501c30..88fb82ff3cc2a3a236d34990d55329fa76e4be9b 100644 (file)
@@ -1,5 +1,7 @@
 2002-12-18  Ken Raeburn  <raeburn@mit.edu>
 
+       * init_db (qualname): If "kdb5_util create" fails, exit.
+
        * env-setup.shin: Set KRB5CCNAME to something under $K5ROOT.
 
 2002-10-30  Ken Raeburn  <raeburn@mit.edu>
index aac473677459dc8ae3a72a5d4fb41a071e901a40..bc7ac216e7a9c6a386050eea91c1e4b248a6beb5 100644 (file)
@@ -71,7 +71,7 @@ sed -e "s/__REALM__/$REALM/g" -e "s#__K5ROOT__#$K5ROOT#g" \
 sed -e "s/__REALM__/$REALM/g" -e "s#__K5ROOT__#$K5ROOT#g" \
        < $STESTDIR/proto/kdc.conf.proto > $K5ROOT/kdc.conf
 
-eval kdb5_util -r $REALM create -P mrroot -s $REDIRECT
+eval kdb5_util -r $REALM create -P mrroot -s $REDIRECT || exit 1
 
 cp $STESTDIR/proto/ovsec_adm.dict $K5ROOT/ovsec_adm.dict