summaryrefslogtreecommitdiffhomepage
path: root/src/daemon_linux.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2017-08-07 15:25:04 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2017-08-07 15:25:04 +0200
commitcba1d6585ab9b12ae3e0897db85675ba452c3f09 (patch)
tree13d0975bf53a107c2760c833fd07f36d860a338a /src/daemon_linux.go
parent8c34c4cbb3780c433148966a004f5a51aace0f64 (diff)
Number of fixes in response to code review
This version cannot complete a handshake. The program will panic upon receiving any message on the UDP socket.
Diffstat (limited to 'src/daemon_linux.go')
-rw-r--r--src/daemon_linux.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/daemon_linux.go b/src/daemon_linux.go
index 809c176..730f89e 100644
--- a/src/daemon_linux.go
+++ b/src/daemon_linux.go
@@ -7,6 +7,8 @@ import (
/* Daemonizes the process on linux
*
* This is done by spawning and releasing a copy with the --foreground flag
+ *
+ * TODO: Use env variable to spawn in background
*/
func Daemonize() error {