Skip to content

Commit

Permalink
rc: error on web GUI update won't be fatal - fixes rclone#5385
Browse files Browse the repository at this point in the history
  • Loading branch information
David authored and ncw committed Nov 10, 2021
1 parent f04520a commit ae395d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/rc/rcserver/rcserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func newServer(ctx context.Context, opt *rc.Options, mux *http.ServeMux) *Server
fileHandler = http.FileServer(http.Dir(opt.Files))
} else if opt.WebUI {
if err := webgui.CheckAndDownloadWebGUIRelease(opt.WebGUIUpdate, opt.WebGUIForceUpdate, opt.WebGUIFetchURL, config.GetCacheDir()); err != nil {
log.Fatalf("Error while fetching the latest release of Web GUI: %v", err)
fs.Errorf(nil, "Error while fetching the latest release of Web GUI: %v", err)
}
if opt.NoAuth {
opt.NoAuth = false
Expand Down

0 comments on commit ae395d8

Please sign in to comment.