1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-03-09 00:00:02 +01:00

mount: append the short string of the repository ID

This commit is contained in:
Srigovind Nayak 2025-02-08 19:16:10 +05:30
parent eb0e8d316d
commit c328f45333
No known key found for this signature in database
GPG key ID: 09006810B7263D69

View file

@ -147,7 +147,7 @@ func runMount(ctx context.Context, opts MountOptions, gopts GlobalOptions, args
return err
}
fuseMountName := fmt.Sprintf("restic:%s", repositoryID)
fuseMountName := fmt.Sprintf("restic:%s", repositoryID.Str())
mountOptions := []systemFuse.MountOption{
systemFuse.ReadOnly(),