summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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