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: fix gocritic change missed in merge

Nick Craig-Wood842396c8a0a8
diff --git a/cmd/cmd.go b/cmd/cmd.go
index def2a5f82..13b3ba34d 100644
--- a/cmd/cmd.go
+++ b/cmd/cmd.go
@@ -10,7 +10,6 @@ import (
"context"
"errors"
"fmt"
- "log"
"os"
"os/exec"
"path"
@@ -429,7 +428,7 @@ func initConfig() {
// Start the metrics server if configured
_, err = rcserver.MetricsStart(ctx, &rc.Opt)
if err != nil {
- log.Fatalf("Failed to start metrics server: %v", err)
+ fs.Fatalf(nil, "Failed to start metrics server: %v", err)
}