summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-11-16 12:30:43 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-11-16 12:30:43 -0500
commita2a05ccc6ca848db53f7c6c908a26a6b451eeab2 (patch)
tree9214ba9785da1a52748a368145786b387be6b39f
parent7083a4c4508d68d18dc0427a0f0f86df3f1009c7 (diff)
util/fd: whoops, fix named sd fdsHEADmaster
-rw-r--r--src/util/fd.go2
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