forked from TrueCloudLab/rclone
smb: check smb connection is closed - fixes #6735
This commit is contained in:
parent
8e63a08d7f
commit
d376fb1df2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue