1
0
mirror of https://github.com/rclone/rclone.git synced 2025-01-24 12:56:36 +02:00

smb: check smb connection is closed - fixes #6735

This commit is contained in:
happyxhw 2023-02-01 15:25:25 +08:00 committed by GitHub
parent 8e63a08d7f
commit d376fb1df2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@ func (c *conn) closed() bool {
// list the shares
_, nopErr = c.smbSession.ListSharenames()
}
return nopErr == nil
return nopErr != nil
}
// Show that we are using a SMB session