mirror of
https://github.com/octoleo/restic.git
synced 2024-11-13 16:56:27 +00:00
Merge pull request #2776 from nunoperalta/patch-1
Fix #2774 - make unable to umount message clearer
This commit is contained in:
commit
26704be17f
@ -180,7 +180,7 @@ func runMount(opts MountOptions, gopts GlobalOptions, args []string) error {
|
|||||||
debug.Log("running umount cleanup handler for mount at %v", mountpoint)
|
debug.Log("running umount cleanup handler for mount at %v", mountpoint)
|
||||||
err := umount(mountpoint)
|
err := umount(mountpoint)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
Warnf("unable to umount (maybe already umounted?): %v\n", err)
|
Warnf("unable to umount (maybe already umounted or still in use?): %v\n", err)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user