summaryrefslogtreecommitdiff
path: root/sd_daemon
diff options
context:
space:
mode:
Diffstat (limited to 'sd_daemon')
-rw-r--r--sd_daemon/listen_fds.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd_daemon/listen_fds.go b/sd_daemon/listen_fds.go
index 575e2ab..9c206a2 100644
--- a/sd_daemon/listen_fds.go
+++ b/sd_daemon/listen_fds.go
@@ -1,7 +1,7 @@
// Incorporates: git://github.com/coreos/go-systemd.git 8843929dce14ef03e3f9b78c1707d347cbf661b9 activation/files.go
//
// Copyright 2015 CoreOS, Inc.
-// Copyright 2015-2016 Luke Shumaker
+// Copyright 2015-2016, 2023 Luke Shumaker
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -30,8 +30,8 @@ import (
//
// If unsetEnv is true, then (regardless of whether the function call
// itself succeeds or not) it will unset the environmental variables
-// LISTEN_FDS and LISTEN_PID, which will cause further calls to this
-// function to fail.
+// LISTEN_PID, LISTEN_FDS, and LISTEN_FDNAMES, which will cause
+// further calls to this function to fail.
//
// In the case of an error, this function returns nil.
func ListenFds(unsetEnv bool) []*os.File {