diff options
Diffstat (limited to 'heal/src')
| -rw-r--r-- | heal/src/glfs-heal.c | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/heal/src/glfs-heal.c b/heal/src/glfs-heal.c index c6c1161b05b..076b631e636 100644 --- a/heal/src/glfs-heal.c +++ b/heal/src/glfs-heal.c @@ -15,6 +15,7 @@  #include "glfs-handles.h"  #include "glfs-internal.h"  #include "protocol-common.h" +#include "syscall.h"  #include "syncop.h"  #include "syncop-utils.h"  #include <string.h> @@ -911,6 +912,10 @@ main (int argc, char **argv)                  goto out;          } +        if (sys_access(SECURE_ACCESS_FILE, F_OK) == 0) { +                fs->ctx->secure_mgmt = 1; +        } +          ret = glfs_set_volfile_server (fs, "unix", DEFAULT_GLUSTERD_SOCKFILE, 0);          if (ret) {                  printf("Setting the volfile server failed, %s\n", strerror (errno));  | 
