summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2011-04-14 16:34:59 +0000
committerAnand Avati <avati@gluster.com>2011-04-15 00:30:57 -0700
commit066074291fad64a78923bbca06d25b5a6a5307d7 (patch)
treead8164d1b706d76f4619db08c8413806f883539e
parentf689a077d3f0a8c75d7ef083d92ef0faeb2ba5a0 (diff)
syncdaemon: split gluster_command to make it possible to set options for glusterfs
Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 1570 (geosync related changes) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1570
-rw-r--r--xlators/features/marker/utils/syncdaemon/resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/marker/utils/syncdaemon/resource.py b/xlators/features/marker/utils/syncdaemon/resource.py
index c937f80cf8d..2f42e9c446c 100644
--- a/xlators/features/marker/utils/syncdaemon/resource.py
+++ b/xlators/features/marker/utils/syncdaemon/resource.py
@@ -401,7 +401,7 @@ class GLUSTER(AbstractUrl, SlaveLocal, SlaveRemote):
def connect(self):
d = tempfile.mkdtemp()
try:
- argv = [gconf.gluster_command] + \
+ argv = gconf.gluster_command.split() + \
(gconf.gluster_log_level and ['-L', gconf.gluster_log_level] or []) + \
['-l', gconf.gluster_log_file, '-s', self.host,
'--volfile-id', self.volume, '--client-pid=-1', d]