invocation to do some initialization fails, exit rather than continuing.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14948
dc483132-0cff-0310-8789-
dd5450dbe970
+2002-10-30 Ken Raeburn <raeburn@mit.edu>
+
+ * start_servers_local: If $USER isn't set, use $LOGNAME. If
+ ovsec_kadm_srv_tcl invocation to do some initialization fails,
+ exit rather than continuing.
+
2002-10-17 Ken Raeburn <raeburn@mit.edu>
* start_servers_local: Set names of replay cache and log files to
puts stdout [ovsec_kadm_destroy $server_handle]
EOF
eval "$SRVTCL < /tmp/start_servers_local$$ $REDIRECT"
+x=$?
rm /tmp/start_servers_local$$
+if test $x != 0 ; then exit 1 ; fi
# rm -f /etc/v5srvtab
# eval $LOCAL_MAKE_KEYTAB -princ host/xCANONHOSTx /etc/v5srvtab $REDIRECT
rm -f $kdc_start_file
+if test "x$USER" = x ; then
+ USER=$LOGNAME ; export USER
+fi
+
kdc_args="-R dfl:kdc_rcache.$USER"
(trap "" 2; cd $TOP/../kdc; ./krb5kdc $kdc_args; touch $kdc_start_file) \