1
mirror of https://github.com/rclone/rclone synced 2024-10-06 13:54:49 +02:00

rc: error on web GUI update won't be fatal - fixes #5385

This commit is contained in:
David 2021-10-05 09:12:10 +02:00 committed by Nick Craig-Wood
parent f04520a6e3
commit ae395d8cf0

View File

@ -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