From 82b8d68ffb5858a8f4e0a642cf9ef676bfec9413 Mon Sep 17 00:00:00 2001 From: Stephen Harris Date: Mon, 10 Apr 2017 12:52:31 -0400 Subject: [PATCH] crypt: report the name:root as specified by the user Rather then the underlying Fs root (which may be encrypted when filename_encryption is set). Fixes #1305 --- crypt/crypt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypt/crypt.go b/crypt/crypt.go index 1c0ce369e..92c4e9a95 100644 --- a/crypt/crypt.go +++ b/crypt/crypt.go @@ -140,7 +140,7 @@ func (f *Fs) Features() *fs.Features { // String returns a description of the FS func (f *Fs) String() string { - return fmt.Sprintf("Encrypted %s", f.Fs.String()) + return fmt.Sprintf("Encrypted drive '%s:%s'", f.name, f.root) } // List the Fs into a channel