summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--geo-replication/src/gsyncd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/geo-replication/src/gsyncd.c b/geo-replication/src/gsyncd.c
index 21864db4af2..11599760457 100644
--- a/geo-replication/src/gsyncd.c
+++ b/geo-replication/src/gsyncd.c
@@ -116,6 +116,7 @@ invoke_gsyncd (int argc, char **argv)
/* in restricted mode we forcibly use the system-wide config */
runinit (&runner);
runner_add_args (&runner, SBIN_DIR"/gluster",
+ "--remote-host=localhost",
"--log-file=-", "system::", "getwd",
NULL);
runner_redir (&runner, STDOUT_FILENO, RUN_PIPE);