also kill children in cdist core

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-05-10 17:07:52 +02:00
commit a202826a62
2 changed files with 3 additions and 1 deletions

View file

@ -30,10 +30,11 @@ trap killandclean EXIT
killandclean()
{
__cdist_echo info "Existing and killing children..."
kill 0
# Ensure tmp stuff is being removed
__cdist_tmp_removal
__cdist_cleanly_exit
}