aboutsummaryrefslogtreecommitdiff
path: root/daemonize.go
diff options
context:
space:
mode:
Diffstat (limited to 'daemonize.go')
-rw-r--r--daemonize.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemonize.go b/daemonize.go
index e93c264..32255ca 100644
--- a/daemonize.go
+++ b/daemonize.go
@@ -29,7 +29,7 @@ func daemonize() {
c.Stdin = os.Stdin
err := c.Start()
if err != nil {
- fmt.Printf("daemonize: starting %s failed: %v\n", name)
+ fmt.Printf("daemonize: starting %s failed: %v\n", name, err)
os.Exit(1)
}
err = c.Wait()