mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-23 05:44:04 +08:00
fix(ftp): nil pointer dereference (close #1722)
This commit is contained in:
parent
9181861f47
commit
656f5f112c
@ -19,5 +19,6 @@ func (d *FTP) login() error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
d.conn = conn
|
||||
return nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user