diff options
author | helg <helg@cvs.openbsd.org> | 2017-12-18 14:20:24 +0000 |
---|---|---|
committer | helg <helg@cvs.openbsd.org> | 2017-12-18 14:20:24 +0000 |
commit | 2c2427b7e22a3174621679516c5dfc63ca795d8b (patch) | |
tree | 4add29dce1958721b93998d3b703ccce6b433555 | |
parent | de4383743e61dea60485964b7c20b7b2ac8bde3f (diff) |
Add call to fuse_remove_signal_handlers(3) in fuse_teardown(3) to do the
opposite of fuse_setup(3).
ok mpi@
-rw-r--r-- | lib/libfuse/fuse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libfuse/fuse.c b/lib/libfuse/fuse.c index cd7773b4c42..73426e54351 100644 --- a/lib/libfuse/fuse.c +++ b/lib/libfuse/fuse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fuse.c,v 1.42 2017/12/18 11:41:41 helg Exp $ */ +/* $OpenBSD: fuse.c,v 1.43 2017/12/18 14:20:23 helg Exp $ */ /* * Copyright (c) 2013 Sylvestre Gallon <ccna.syl@gmail.com> * @@ -611,6 +611,7 @@ fuse_teardown(struct fuse *fuse, char *mp) if (fuse == NULL || mp == NULL) return; + fuse_remove_signal_handlers(fuse_get_session(fuse)); fuse_unmount(mp, fuse->fc); fuse_destroy(fuse); } |