forked from TrueCloudLab/rclone
rc: error on web GUI update won't be fatal - fixes #5385
This commit is contained in:
parent
f04520a6e3
commit
ae395d8cf0
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ func newServer(ctx context.Context, opt *rc.Options, mux *http.ServeMux) *Server
|
||||||
fileHandler = http.FileServer(http.Dir(opt.Files))
|
fileHandler = http.FileServer(http.Dir(opt.Files))
|
||||||
} else if opt.WebUI {
|
} else if opt.WebUI {
|
||||||
if err := webgui.CheckAndDownloadWebGUIRelease(opt.WebGUIUpdate, opt.WebGUIForceUpdate, opt.WebGUIFetchURL, config.GetCacheDir()); err != nil {
|
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 {
|
if opt.NoAuth {
|
||||||
opt.NoAuth = false
|
opt.NoAuth = false
|
||||||
|
|
Loading…
Add table
Reference in a new issue