diff options
Diffstat (limited to 'geo-replication/syncdaemon/gsyncd.py')
| -rw-r--r-- | geo-replication/syncdaemon/gsyncd.py | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/geo-replication/syncdaemon/gsyncd.py b/geo-replication/syncdaemon/gsyncd.py index d3c79f5692d..83e3d267b95 100644 --- a/geo-replication/syncdaemon/gsyncd.py +++ b/geo-replication/syncdaemon/gsyncd.py @@ -229,7 +229,8 @@ def main():      # Set default path for config file in that case      # If an subcmd accepts config file then it also accepts      # master and Slave arguments. -    if config_file is None and hasattr(args, "config_file"): +    if config_file is None and hasattr(args, "config_file") \ +        and args.subcmd != "slave":          config_file = "%s/geo-replication/%s_%s_%s/gsyncd.conf" % (              GLUSTERD_WORKDIR,              args.master,  | 
