Before running client in off-line mode, attempt to socket-activate the server
[platform/core/security/security-manager.git] / src / common / file-lock.cpp
index 1b9b0b8..36b2ccb 100644 (file)
@@ -98,6 +98,7 @@ void FileLocker::Unlock()
 {
     if (m_locked) {
         m_flock.unlock();
+        m_locked = false;
         LogDebug("Lock released.");
     }
 }