diff options
author | Nick Thomas <nick@gitlab.com> | 2017-03-08 17:27:37 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2017-03-08 18:02:35 +0300 |
commit | fa9890420cf5dbbca652fceb05708b67c393ebb5 (patch) | |
tree | cb1eebd3a6056abc252b73dfa7f5259aa3a70c5b /daemon.go | |
parent | 79738be56d5349a16500d2cb80e3473e5a079053 (diff) |
Use fmt/log.Println, not the println builtin
Diffstat (limited to 'daemon.go')
-rw-r--r-- | daemon.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -188,7 +188,7 @@ func daemonize(config appConfig, uid, gid uint) { // Run daemon in chroot environment temporaryExecutable, err := daemonChroot(cmd) if err != nil { - println("Chroot failed", err) + log.Println("Chroot failed", err) return } defer os.Remove(temporaryExecutable) @@ -211,7 +211,7 @@ func daemonize(config appConfig, uid, gid uint) { // Start the process if err = cmd.Start(); err != nil { - println("Start failed", err) + log.Println("Start failed", err) return } |