diff options
-rw-r--r-- | glusterfsd/src/glusterfsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index f62fbf5e7c4..f9f263aae66 100644 --- a/glusterfsd/src/glusterfsd.c +++ b/glusterfsd/src/glusterfsd.c @@ -2561,7 +2561,7 @@ glusterfs_process_volfp(glusterfs_ctx_t *ctx, FILE *fp) } xlator_t *xl = graph->first; - if (strcmp(xl->type, "protocol/server") == 0) { + if (xl && (strcmp(xl->type, "protocol/server") == 0)) { (void)copy_opts_to_child(xl, FIRST_CHILD(xl), "*auth*"); } |