summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
Diffstat (limited to 'daemon')
-rw-r--r--daemon/gluster-blockd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gluster-blockd.c b/daemon/gluster-blockd.c
index 24fde90..6fb9c90 100644
--- a/daemon/gluster-blockd.c
+++ b/daemon/gluster-blockd.c
@@ -154,7 +154,7 @@ main (int argc, char **argv)
pthread_t cli_thread;
pthread_t server_thread;
- if (glusterBlockLogdirCreate()) {
+ if (!glusterBlockLogdirCreate()) {
return -1;
}