about: don't attempt retries

This commit is contained in:
Nick Craig-Wood 2018-04-18 21:09:34 +01:00
parent 2b855751fc
commit 9948b39dba

View File

@ -86,7 +86,7 @@ Use the --json flag for a computer readable output, eg
Run: func(command *cobra.Command, args []string) {
cmd.CheckArgs(1, 1, command, args)
f := cmd.NewFsSrc(args)
cmd.Run(true, false, command, func() error {
cmd.Run(false, false, command, func() error {
doAbout := f.Features().About
if doAbout == nil {
return errors.Errorf("%v doesn't support about", f)