mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 08:23:47 +01:00
rc: error on web GUI update won't be fatal - fixes #5385
This commit is contained in:
parent
f04520a6e3
commit
ae395d8cf0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user