From 4f1d7555552fe355e07215f8c84347d59cac9f6e Mon Sep 17 00:00:00 2001 From: helg Date: Mon, 18 Dec 2017 14:20:23 +0000 Subject: [PATCH] Add call to fuse_remove_signal_handlers(3) in fuse_teardown(3) to do the opposite of fuse_setup(3). ok mpi@ --- lib/libfuse/fuse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 * @@ -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); } -- 2.20.1