From: Zac Medico Date: Fri, 28 Mar 2008 20:29:24 +0000 (-0000) Subject: Remove the killparent() function and associated SIGINT trap since this X-Git-Tag: v2.1.5~309 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7131bb373c4991a3ea2cddf17b4bd0c465e430f3;p=portage.git Remove the killparent() function and associated SIGINT trap since this should already be handled on the python side and it won't work with dropped privileges anyway. (trunk r9327) svn path=/main/branches/2.1.2/; revision=9581 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index b9abc4790..8f22fcab3 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1563,14 +1563,6 @@ if [ -n "${EBUILD_SH_ARGS}" ] && \ # source ${X} || die "Failed to source ${X}" # done -else - -killparent() { - trap INT - kill ${PORTAGE_MASTER_PID} -} -trap "killparent" INT - fi # "$*"!="depend" && "$*"!="clean" && "$*" != "setup" export SANDBOX_ON="1" diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index 248501211..08d1fcb0e 100644 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -452,7 +452,7 @@ save_ebuild_env() { abort_test abort_install dyn_compile dyn_test dyn_install \ dyn_preinst dyn_help debug-print debug-print-function \ debug-print-section inherit EXPORT_FUNCTIONS newdepend newrdepend \ - newpdepend do_newdepend remove_path_entry killparent \ + newpdepend do_newdepend remove_path_entry \ save_ebuild_env filter_readonly_variables preprocess_ebuild_env \ source_all_bashrcs ebuild_phase ebuild_phase_with_hooks \ ${QA_INTERCEPTORS}