diff options
author | Greg Hudson <ghudson@mit.edu> | 2011-11-04 05:53:23 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2011-11-04 05:53:23 +0000 |
commit | 5510237e36b15e53904b4eb30c3a6eb8e51d6cfa (patch) | |
tree | af3a5fc34b8dad7de5a429a8afc45dc9d79dc934 | |
parent | 4544c693ba8559a9c37d601f96dac20006dfe455 (diff) | |
download | krb5-5510237e36b15e53904b4eb30c3a6eb8e51d6cfa.tar.gz krb5-5510237e36b15e53904b4eb30c3a6eb8e51d6cfa.tar.xz krb5-5510237e36b15e53904b4eb30c3a6eb8e51d6cfa.zip |
Exit on error in kadmind kprop child
When we fork from kadmind to dump the database and kprop to an iprop
slave, if we encounter an error in the child process we should exit
rather than returning to the main loop.
ticket: 7000
target_version: 1.10
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25433 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/kadmin/server/ipropd_svc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kadmin/server/ipropd_svc.c b/src/kadmin/server/ipropd_svc.c index d732098a2..0e45f6a17 100644 --- a/src/kadmin/server/ipropd_svc.c +++ b/src/kadmin/server/ipropd_svc.c @@ -380,7 +380,7 @@ ipropx_resync(uint32_t vers, struct svc_req *rqstp) _("%s: pclose(popen) failed: %s"), whoami, error_message(errno)); - goto out; + _exit(1); } DPRINT(("%s: exec `kprop -f %s %s' ...\n", @@ -401,7 +401,7 @@ ipropx_resync(uint32_t vers, struct svc_req *rqstp) _("%s: exec failed: %s"), whoami, error_message(errno)); - goto out; + _exit(1); } default: /* parent */ |