Remove the killparent() function and associated SIGINT trap since this
authorZac Medico <zmedico@gentoo.org>
Sun, 10 Feb 2008 07:18:58 +0000 (07:18 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 10 Feb 2008 07:18:58 +0000 (07:18 -0000)
should already be handled on the python side and it won't work with
dropped privileges anyway.

svn path=/main/trunk/; revision=9327

bin/ebuild.sh
bin/isolated-functions.sh

index 61f6e18fe44a2a7e5753bbcee89b920cb4ff1ffa..0c9a6760ab93ef1d1d26e93b667af763626dd788 100755 (executable)
@@ -1565,14 +1565,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"
index ee73e7bcda3783786b29718366746d4760074149..d44cbbc6dc372cf40f3ed70a72b73d0843e62dc7 100755 (executable)
@@ -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}