summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlibglusterfsclient/src/libglusterfsclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient.c b/libglusterfsclient/src/libglusterfsclient.c
index 9f8a8a15e8e..f90de48c3ad 100755
--- a/libglusterfsclient/src/libglusterfsclient.c
+++ b/libglusterfsclient/src/libglusterfsclient.c
@@ -7919,7 +7919,7 @@ glusterfs_chdir (const char *path)
}
if ((handle == NULL) || (op_ret == 0)) {
- libgf_client_chdir (path);
+ op_ret = libgf_client_chdir (path);
}
out: