aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVyacheslav Reutskiy <v.reutskiy@samsung.com>2017-09-22 14:19:44 +0300
committerVyacheslav Reutskiy <v.reutskiy@samsung.com>2017-09-22 14:33:06 +0300
commitb93a17f4225280e0dac953ae43c13a847b2ad360 (patch)
tree7b4f47d763e62e5d7e1113c9193f71c6c62f22c7
parentruler: adapt to new eo API (diff)
downloadeflete-b93a17f4225280e0dac953ae43c13a847b2ad360.tar.gz
project manager: remove premature exit from function
-rw-r--r--src/bin/project_manager/project_manager2.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/bin/project_manager/project_manager2.c b/src/bin/project_manager/project_manager2.c
index 3b6cf1037..4672aaaa7 100644
--- a/src/bin/project_manager/project_manager2.c
+++ b/src/bin/project_manager/project_manager2.c
@@ -578,9 +578,6 @@ _project_trylock(const char *pro_path)
{
return _project_lock_pid_check(path);
}
- else
- return PM_PROJECT_SUCCESS;
-
fd = open(path, O_RDWR);
if (fd < 1)