summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xextras/ocf/volume.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/ocf/volume.in b/extras/ocf/volume.in
index de05373b9e3..46dd20b8ced 100755
--- a/extras/ocf/volume.in
+++ b/extras/ocf/volume.in
@@ -70,7 +70,7 @@ EOF
volume_getdir() {
local voldir
- voldir="@sysconfdir@/glusterd/vols/${OCF_RESKEY_volname}"
+ voldir="@GLUSTERD_WORKDIR@/vols/${OCF_RESKEY_volname}"
[ -d ${voldir} ] || return 1