From 448a03181fa962fb9da86cfbc8a1a11cf8a159b3 Mon Sep 17 00:00:00 2001 From: Ivan Andreev Date: Fri, 13 Aug 2021 20:42:33 +0300 Subject: [PATCH] cmd/mount: --fast-list does nothing on a mount --- cmd/mountlib/mount.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmd/mountlib/mount.go b/cmd/mountlib/mount.go index 072b3afff..2a9f6fba6 100644 --- a/cmd/mountlib/mount.go +++ b/cmd/mountlib/mount.go @@ -1,6 +1,7 @@ package mountlib import ( + "context" "log" "os" "path/filepath" @@ -128,6 +129,10 @@ func NewMountCommand(commandName string, hidden bool, mount MountFn) *cobra.Comm Run: func(command *cobra.Command, args []string) { cmd.CheckArgs(2, 2, command, args) + if fs.GetConfig(context.Background()).UseListR { + fs.Logf(nil, "--fast-list does nothing on a mount") + } + if Opt.Daemon { config.PassConfigKeyForDaemonization = true }