summaryrefslogtreecommitdiff
path: root/sd_daemon/listen_fds.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-12-18 04:00:04 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-12-18 04:00:04 -0500
commit92625d852a1e2a4e188bc285c2341f4c482c0469 (patch)
tree74c3cc50802faf8ea38d916c520d33e7e90914f9 /sd_daemon/listen_fds.go
parent3b1bdfbd2687e81bef85260f9cdfbf617ece3527 (diff)
gofmt
Diffstat (limited to 'sd_daemon/listen_fds.go')
-rw-r--r--sd_daemon/listen_fds.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd_daemon/listen_fds.go b/sd_daemon/listen_fds.go
index f512384..bf30432 100644
--- a/sd_daemon/listen_fds.go
+++ b/sd_daemon/listen_fds.go
@@ -54,7 +54,7 @@ func ListenFds(unsetEnv bool) []*os.File {
files := make([]*os.File, 0, nfds)
for i := 0; i < nfds; i++ {
- fd := i+3
+ fd := i + 3
syscall.CloseOnExec(fd)
name := "unknown"
if i < len(names) {