From: Colin Patrick McCabe Date: Sat, 9 Apr 2011 01:14:13 +0000 (-0700) Subject: cfuse: pass through SIGTERM, SIGINT to FUSE X-Git-Tag: v0.27~115 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c02b56e62221a35a4edff7b0afedb5b24d0e0de3;p=ceph.git cfuse: pass through SIGTERM, SIGINT to FUSE Signed-off-by: Colin McCabe --- diff --git a/src/client/fuse_ll.cc b/src/client/fuse_ll.cc index 4a5251ce9f8c..0844d9708492 100644 --- a/src/client/fuse_ll.cc +++ b/src/client/fuse_ll.cc @@ -543,6 +543,8 @@ int ceph_fuse_ll_main(Client *c, int argc, const char *argv[], int fd) goto done; } + signal(SIGTERM, SIG_DFL); + signal(SIGINT, SIG_DFL); if (fuse_set_signal_handlers(se) == -1) { derr << "fuse_set_signal_handlers failed" << dendl; ret = ENOSYS;