Remove superfluous check in Sock
[platform/core/security/askuser.git] / src / ipc-lib / sock.cpp
index fccce16..fe8f22b 100644 (file)
@@ -126,10 +126,6 @@ int Sock::connect(const std::string &path) {
         break;
     }
 
-    if (m_fd != -1) {
-        return -1;
-    }
-
     if (policySystemD) {
         m_fd = getSocketFromSystemD();
         if (m_fd >= 0) {