summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow (europa) <paul@buetow.org>2015-05-25 10:07:48 +0100
committerPaul Buetow (europa) <paul@buetow.org>2015-05-25 10:07:48 +0100
commitb804f4905f48d3a05218a323b258963c514399f7 (patch)
tree8bc8f9ae2c8531661b42b142279346761c73348d
parentd9f3dbeab169f4ed25c36baa2eb0371806a3bb29 (diff)
remove obsolete
-rw-r--r--process/process.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/process/process.go b/process/process.go
index 89cdd39..85f80f2 100644
--- a/process/process.go
+++ b/process/process.go
@@ -17,10 +17,6 @@ type Process struct {
debug string
}
-func newError() (Process, error) {
- return Process{}, errors.New("Can not read process information")
-}
-
func new(pidstr string) (Process, error) {
pid, err := strconv.Atoi(pidstr)
if err != nil {