summaryrefslogtreecommitdiffstats
path: root/glusterfsd/src/glusterfsd.c
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-09-10 05:53:59 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-10 06:13:57 -0700
commit5bec5e4fd6b0cae5e7a5e4d0a72090f4d613b94e (patch)
treed59d335fa51f224e9f02dc8779816cd60f043d91 /glusterfsd/src/glusterfsd.c
parent4aada05a7a2b21d4c5275812a6e8f838e3a10512 (diff)
glusterfsd: exit process instead of starting fuse in case of failures
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1586 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1586
Diffstat (limited to 'glusterfsd/src/glusterfsd.c')
-rw-r--r--glusterfsd/src/glusterfsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c
index 36fc86af4..bd2d704b8 100644
--- a/glusterfsd/src/glusterfsd.c
+++ b/glusterfsd/src/glusterfsd.c
@@ -633,7 +633,7 @@ parse_opts (int key, char *arg, struct argp_state *state)
}
-static void
+void
cleanup_and_exit (int signum)
{
glusterfs_ctx_t *ctx = NULL;