Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

fs/rc: fix dropped error

Lars Lehtonenfe6f4135b420
diff --git a/fs/rc/webgui.go b/fs/rc/webgui.go
index cc3c1a009..9dd4f44d7 100644
--- a/fs/rc/webgui.go
+++ b/fs/rc/webgui.go
@@ -44,6 +44,9 @@ func CheckAndDownloadWebGUIRelease(checkUpdate bool, forceUpdate bool, fetchURL
extractPath := filepath.Join(cachePath, "current")
extractPathExist, extractPathStat, err := exists(extractPath)
+ if err != nil {
+ return err
+ }
if extractPathExist && !extractPathStat.IsDir() {
return errors.New("Web GUI path exists, but is a file instead of folder. Please check the path " + extractPath)