diff options
author | Amar Tumballi <amar@gluster.com> | 2010-08-26 07:42:30 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-08-26 07:31:25 -0700 |
commit | 2d935ef9c8cba1dae93e8e7dc0238aa46358edc3 (patch) | |
tree | cff421d28d104b9df5158c29164aa3f4bdc0091b /xlators/protocol/server/src/server.c | |
parent | d23ea83d476d2d0a1672ff346a398a76952d7e09 (diff) |
fix glusterfsd to glusterfs getspec
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1445 (getspec doesn't work from glusterfsd)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1445
Diffstat (limited to 'xlators/protocol/server/src/server.c')
-rw-r--r-- | xlators/protocol/server/src/server.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/protocol/server/src/server.c b/xlators/protocol/server/src/server.c index 35072ef999e..262da3e3158 100644 --- a/xlators/protocol/server/src/server.c +++ b/xlators/protocol/server/src/server.c @@ -457,6 +457,10 @@ init (xlator_t *this) if (ret) goto out; + ret = dict_get_str (this->options, "config-directory", &conf->conf_dir); + if (ret) + conf->conf_dir = CONFDIR; + /* Authentication modules */ conf->auth_modules = dict_new (); GF_VALIDATE_OR_GOTO(this->name, conf->auth_modules, out); |