small fixes and dependency updates

This commit is contained in:
ston1th 2023-08-25 02:06:53 +02:00
commit 96405e2521
238 changed files with 3599 additions and 3467 deletions

View file

@ -197,8 +197,11 @@ func (fs *FS) MkdirAll(p string, _ os.FileMode) error {
func (fs *FS) Close() error {
fs.cancel()
fs.client.Close()
return fs.c.Close()
err := fs.client.Close()
if fs.c != nil {
return fs.c.Close()
}
return err
}
func (fs *FS) path(p string) string {