cmd/mount: --fast-list does nothing on a mount

This commit is contained in:
Ivan Andreev 2021-08-13 20:42:33 +03:00
parent 3615619645
commit 448a03181f
1 changed files with 5 additions and 0 deletions

View File

@ -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
}