aboutsummaryrefslogtreecommitdiff
path: root/cli_args.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2020-01-14 23:12:56 +0100
committerJakob Unterwurzacher2020-01-14 23:12:56 +0100
commita48d7fac2cedd18fcc0466091e35cccde5790d8a (patch)
treeecd5517925537a9458899b648858e4698419c78d /cli_args.go
parent367b7e8647987a23ccd545fc7eeab16acc3980eb (diff)
main: haveFusermount2: respect PATH environment variable
Use exec.LookPath() to find fusermount in the user's PATH first. Fall back to /bin/fusermount for the case that PATH is not set, like go-fuse does. Fixes https://github.com/rfjakob/gocryptfs/issues/448
Diffstat (limited to 'cli_args.go')
0 files changed, 0 insertions, 0 deletions