Fix s3ql unmount
This commit is contained in:
parent
8cd8f6b6cd
commit
b412e81977
4 changed files with 5 additions and 8 deletions
pkg/s3
|
@ -80,10 +80,7 @@ func (s3ql *s3qlMounter) Mount(targetPath string) error {
|
|||
}
|
||||
|
||||
func (s3ql *s3qlMounter) Unmount(targetPath string) error {
|
||||
args := []string{
|
||||
targetPath,
|
||||
}
|
||||
return s3qlCmd(s3qlCmdUnmount, append(args, s3ql.options...), nil)
|
||||
return s3qlCmd(s3qlCmdUnmount, []string{targetPath}, nil)
|
||||
}
|
||||
|
||||
func s3qlCmd(s3qlCmd string, args []string, stdin io.Reader) error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue