From b670a079236a4e382cfe927f3e352b3e7a231166 Mon Sep 17 00:00:00 2001 From: Yawning Angel Date: Thu, 26 Mar 2015 06:46:24 +0000 Subject: Fix comments. (No functional changes) --- obfs4proxy/parentMonitor_linux.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'obfs4proxy/parentMonitor_linux.go') diff --git a/obfs4proxy/parentMonitor_linux.go b/obfs4proxy/parentMonitor_linux.go index 0fc967f..65fd307 100644 --- a/obfs4proxy/parentMonitor_linux.go +++ b/obfs4proxy/parentMonitor_linux.go @@ -33,10 +33,9 @@ import ( ) func parentMonitorInitLinux() error { - /* Use prctl() to have the kernel deliver a SIGTERM if the parent - * process dies. This beats anything else that can be done before - * #15435 is implemented. - */ + // Use prctl() to have the kernel deliver a SIGTERM if the parent + // process dies. This beats anything else that can be done before + // #15435 is implemented. _, _, errno := syscall.Syscall(syscall.SYS_PRCTL, syscall.PR_SET_PDEATHSIG, uintptr(syscall.SIGTERM), 0) if errno != 0 { var err error = errno -- cgit v1.2.3