summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2023-12-17 21:04:26 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2023-12-17 21:04:26 -0700
commitcf3611207be8fcc98c80f4629aabe5c17e76cf57 (patch)
treef9f50129399253b753af8efa22638ac181fa530f
parent95552e9492f1d3ad2422b6997575655216e8f552 (diff)
sd_daemon.ListenFds: Update the doc commentmain
-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 {