summaryrefslogtreecommitdiffstats
path: root/bin/ebuild-helpers/die
blob: e871bd9fec75491db99cc181f90a890437d276e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
# Copyright 2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

# TODO: Eliminate race condition in signal delivery by using pipe or socket
# IPC to guarantee that the ebuild process and all of its children (including
# this helper) are killed immediately, ensuring that "false success" is
# impossible.
source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh
die "$@"
exit 1