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
_("%s: pclose(popen) failed: %s"),
whoami,
error_message(errno));
- goto out;
+ _exit(1);
}
DPRINT(("%s: exec `kprop -f %s %s' ...\n",
_("%s: exec failed: %s"),
whoami,
error_message(errno));
- goto out;
+ _exit(1);
}
default: /* parent */