diff options
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.c b/xlators/mgmt/glusterd/src/glusterd.c index 0003fbef519..c9db4b09d8d 100644 --- a/xlators/mgmt/glusterd/src/glusterd.c +++ b/xlators/mgmt/glusterd/src/glusterd.c @@ -307,10 +307,10 @@ init (xlator_t *this) } snprintf (voldir, PATH_MAX, "%s/logs", dirname); - ret = mkdir (voldir, 0777); + ret = symlink (DEFAULT_LOG_FILE_DIRECTORY, voldir); if ((-1 == ret) && (errno != EEXIST)) { gf_log (this->name, GF_LOG_CRITICAL, - "Unable to create logs directory %s" + "Unable to create symlink to logs directory %s" " ,errno = %d", voldir, errno); exit (1); } |