cmd/mount: --fast-list does nothing on a mount
This commit is contained in:
parent
3615619645
commit
448a03181f
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue