Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

build: restore error handling in gendocs

albertonyfa2bbd705c78
diff --git a/cmd/gendocs/gendocs.go b/cmd/gendocs/gendocs.go
index 3f663a65e..f1186bef2 100644
--- a/cmd/gendocs/gendocs.go
+++ b/cmd/gendocs/gendocs.go
@@ -169,8 +169,7 @@ rclone.org website.`,
name := filepath.Base(path)
cmd, ok := commands[name]
if !ok {
- //return fmt.Errorf("didn't find command for %q", name)
- return nil
+ return fmt.Errorf("didn't find command for %q", name)
}
b, err := os.ReadFile(path)
if err != nil {