diff options
author | Csaba Henk <csaba@gluster.com> | 2011-03-10 00:40:52 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2011-03-10 07:39:33 -0800 |
commit | 0121c4c9574e09181f73f9ca7316bce2c5ec7ba9 (patch) | |
tree | 7a4b46626b7d866fb579fe66d40197bae990ef7f | |
parent | fa04a42cc5b9f187ea169b26cc60ee25ac8a3c31 (diff) |
Revert "syncdaemon: Create conf directory if not preset"
This reverts commit 38ae1720be39b62a4f199aa5be4ac85948bc23f0.
Signed-off-by: Kaushik BV <kaushikbv@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.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/gsyncd.py | 9 |
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 43e3dface..1920a05ec 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: |