mirror of
https://github.com/rclone/rclone.git
synced 2025-12-12 06:24:14 +01:00
smb: check smb connection is closed - fixes #6735
This commit is contained in:
@@ -81,7 +81,7 @@ func (c *conn) closed() bool {
|
|||||||
// list the shares
|
// list the shares
|
||||||
_, nopErr = c.smbSession.ListSharenames()
|
_, nopErr = c.smbSession.ListSharenames()
|
||||||
}
|
}
|
||||||
return nopErr == nil
|
return nopErr != nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Show that we are using a SMB session
|
// Show that we are using a SMB session
|
||||||
|
|||||||
Reference in New Issue
Block a user