mirror of https://github.com/restic/restic.git
mount: append the short string of the repository ID
This commit is contained in:
parent
eb0e8d316d
commit
c328f45333
|
@ -147,7 +147,7 @@ func runMount(ctx context.Context, opts MountOptions, gopts GlobalOptions, args
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
fuseMountName := fmt.Sprintf("restic:%s", repositoryID)
|
fuseMountName := fmt.Sprintf("restic:%s", repositoryID.Str())
|
||||||
|
|
||||||
mountOptions := []systemFuse.MountOption{
|
mountOptions := []systemFuse.MountOption{
|
||||||
systemFuse.ReadOnly(),
|
systemFuse.ReadOnly(),
|
||||||
|
|
Loading…
Reference in New Issue