From c724d8f614d94d869aa8aaf0f9619db925fca750 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sun, 10 Jan 2016 11:49:04 +0000 Subject: [PATCH] dropbox: Make file exclusion error controllable with -q #287 --- dropbox/dropbox.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dropbox/dropbox.go b/dropbox/dropbox.go index 9fd64ac02..8d3952ee8 100644 --- a/dropbox/dropbox.go +++ b/dropbox/dropbox.go @@ -654,7 +654,7 @@ func (o *Object) Open() (in io.ReadCloser, err error) { func (o *Object) Update(in io.Reader, modTime time.Time, size int64) error { remote := o.remotePath() if ignoredFiles.MatchString(remote) { - fs.ErrorLog(o, "File name disallowed - not uploading") + fs.Log(o, "File name disallowed - not uploading") return nil } entry, err := o.fs.db.UploadByChunk(ioutil.NopCloser(in), int(uploadChunkSize), remote, true, "")