main: call logger with full path
If $PATH contains the mountpoint, searching through it will lock us up. Use an absolute path to avoid looking at $PATH. Fixes https://github.com/rfjakob/gocryptfs/issues/146
This commit is contained in:
parent
3009ec9852
commit
2783eadc8f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user