geesefs/goofys does not accept options after arguments because of urfave/cli
This commit is contained in:
parent
72652c0277
commit
b58f8589e5
1 changed files with 1 additions and 1 deletions
|
@ -50,9 +50,9 @@ func (geesefs *geesefsMounter) Mount(source string, target string) error {
|
||||||
"--endpoint", geesefs.endpoint,
|
"--endpoint", geesefs.endpoint,
|
||||||
"--region", geesefs.region,
|
"--region", geesefs.region,
|
||||||
"-o", "allow_other",
|
"-o", "allow_other",
|
||||||
fullPath, target,
|
|
||||||
}
|
}
|
||||||
args = append(args, geesefs.meta.MountOptions...)
|
args = append(args, geesefs.meta.MountOptions...)
|
||||||
|
args = append(args, fullPath, target)
|
||||||
os.Setenv("AWS_ACCESS_KEY_ID", geesefs.accessKeyID)
|
os.Setenv("AWS_ACCESS_KEY_ID", geesefs.accessKeyID)
|
||||||
os.Setenv("AWS_SECRET_ACCESS_KEY", geesefs.secretAccessKey)
|
os.Setenv("AWS_SECRET_ACCESS_KEY", geesefs.secretAccessKey)
|
||||||
return fuseMount(target, geesefsCmd, args)
|
return fuseMount(target, geesefsCmd, args)
|
||||||
|
|
Loading…
Reference in a new issue