View | Details | Raw Unified | Return to bug 174729
Collapse All | Expand All

(-)portmaster (+6 lines)
Lines 7-12 trap trap_exit INT Link Here
7
7
8
umask 022
8
umask 022
9
9
10
if [ "$(id -u)" != "0" ]; then
11
   	echo "This script must be run as root" 1>&2
12
   	exit 1
13
fi
14
15
10
# Initialize crucial values for the parent, and export them for the children
16
# Initialize crucial values for the parent, and export them for the children
11
if [ -z "$PM_PARENT_PID" ]; then
17
if [ -z "$PM_PARENT_PID" ]; then
12
	PM_PARENT_PID=$$
18
	PM_PARENT_PID=$$

Return to bug 174729