From b5da78348291435b2f711018c529c83dc824cff8 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Sat, 5 Dec 2009 16:35:14 +0000 Subject: libglusterfsclient/chdir: assign op_ret the return value of libgf_client_chdir. Signed-off-by: Raghavendra G Signed-off-by: Anand V. Avati BUG: 446 (apache does not start in daemon mode on fedora core 11.) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=446 --- libglusterfsclient/src/libglusterfsclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit