summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/features/marker/utils/syncdaemon/gsyncd.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/xlators/features/marker/utils/syncdaemon/gsyncd.py b/xlators/features/marker/utils/syncdaemon/gsyncd.py
index 43e3dfacee0..1920a05ec30 100644
--- a/xlators/features/marker/utils/syncdaemon/gsyncd.py
+++ b/xlators/features/marker/utils/syncdaemon/gsyncd.py
@@ -251,15 +251,6 @@ def main_i():
peers, canon_peers = pa
if not 'config_file' in rconf:
rconf['config_file'] = os.path.join(os.path.dirname(sys.argv[0]), "conf/gsyncd.conf")
- confp = os.path.dirname(sys.argv[0]) + "conf/"
- try:
- st = os.lstat (confp)
- except OSError:
- ex = sys.exc_info()[1]
- if ex.errno == ENOENT:
- os.mkdir(confp)
- else:
- raise
gcnf = GConffile(rconf['config_file'], canon_peers)
if confdata: