2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-23 05:12:10 +00:00

Fix #2774 - make unable to umount message clearer

This commit is contained in:
nunoperalta 2020-06-07 15:57:39 +01:00 committed by GitHub
parent cba6ad8d8e
commit 2c3360db98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -180,7 +180,7 @@ func runMount(opts MountOptions, gopts GlobalOptions, args []string) error {
debug.Log("running umount cleanup handler for mount at %v", mountpoint)
err := umount(mountpoint)
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
})