mirror of https://github.com/Xhofe/alist
fix(ftp): nil pointer dereference (close #1722)
parent
9181861f47
commit
656f5f112c
|
@ -19,5 +19,6 @@ func (d *FTP) login() error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
d.conn = conn
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue