From a4797014c9da530fcea44385cfdb544d1da13f35 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Mon, 16 Jul 2018 21:38:34 +0100 Subject: [PATCH] local: fix crash when deprecated --local-no-unicode-normalization is supplied --- backend/local/local.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/local/local.go b/backend/local/local.go index b7ac70c61..1be99a144 100644 --- a/backend/local/local.go +++ b/backend/local/local.go @@ -21,7 +21,6 @@ import ( "github.com/ncw/rclone/fs/hash" "github.com/ncw/rclone/lib/readers" "github.com/pkg/errors" - "google.golang.org/appengine/log" ) // Constants @@ -125,7 +124,7 @@ func NewFs(name, root string, m configmap.Mapper) (fs.Fs, error) { } if opt.NoUTFNorm { - log.Errorf(nil, "The --local-no-unicode-normalization flag is deprecated and will be removed") + fs.Errorf(nil, "The --local-no-unicode-normalization flag is deprecated and will be removed") } f := &Fs{