diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-11-16 12:30:43 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-11-16 12:30:43 -0500 |
commit | a2a05ccc6ca848db53f7c6c908a26a6b451eeab2 (patch) | |
tree | 9214ba9785da1a52748a368145786b387be6b39f | |
parent | 7083a4c4508d68d18dc0427a0f0f86df3f1009c7 (diff) |
-rw-r--r-- | src/util/fd.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/fd.go b/src/util/fd.go index 0c99972..91d2ee5 100644 --- a/src/util/fd.go +++ b/src/util/fd.go @@ -50,7 +50,7 @@ func FdNameToNum(name string) int { return n } } else if strings.HasPrefix(name, "systemd:") { - name = strings.TrimPrefix(name, "systemd") + name = strings.TrimPrefix(name, "systemd:") n, ok := sdFds[name] if ok { return n |