diff options
Diffstat (limited to 'src/pkg/os/exec.go')
-rw-r--r-- | src/pkg/os/exec.go | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/pkg/os/exec.go b/src/pkg/os/exec.go index 79d25b2dc..a279bf428 100644 --- a/src/pkg/os/exec.go +++ b/src/pkg/os/exec.go @@ -145,11 +145,7 @@ func (w Waitmsg) String() string { } // Getpid returns the process id of the caller. -func Getpid() int { - return syscall.Getpid(); -} +func Getpid() int { return syscall.Getpid() } // Getppid returns the process id of the caller's parent. -func Getppid() int { - return syscall.Getppid(); -} +func Getppid() int { return syscall.Getppid() } |