diff --git a/backend/smb/connpool.go b/backend/smb/connpool.go index d4bed787c..867c73201 100644 --- a/backend/smb/connpool.go +++ b/backend/smb/connpool.go @@ -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