diff --git a/oauthutil/oauthutil.go b/oauthutil/oauthutil.go index 3f545de72..e9bf4e830 100644 --- a/oauthutil/oauthutil.go +++ b/oauthutil/oauthutil.go @@ -428,17 +428,18 @@ func (s *authServer) Start() { fs.Debugf(nil, "Successfully got code") if s.code != nil { fmt.Fprintf(w, "
Go back to rclone to continue
") - s.code <- code } else { fmt.Fprintf(w, "Cut and paste this code into rclone: %s