diff options
author | Jakob Unterwurzacher | 2020-01-14 23:12:56 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2020-01-14 23:12:56 +0100 |
commit | a48d7fac2cedd18fcc0466091e35cccde5790d8a (patch) | |
tree | ecd5517925537a9458899b648858e4698419c78d /internal/fusefrontend | |
parent | 367b7e8647987a23ccd545fc7eeab16acc3980eb (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 'internal/fusefrontend')
0 files changed, 0 insertions, 0 deletions