summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--daemonize.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemonize.go b/daemonize.go
index 1f7b699..67bb1d9 100644
--- a/daemonize.go
+++ b/daemonize.go
@@ -65,7 +65,7 @@ func redirectStdFds() {
return
}
tag := fmt.Sprintf("gocryptfs-%d-logger", os.Getpid())
- cmd := exec.Command("logger", "-t", tag)
+ cmd := exec.Command("/usr/bin/logger", "-t", tag)
cmd.Stdin = pr
err = cmd.Start()
if err != nil {