diff options
author | 2006-09-07 11:48:16 +0000 | |
---|---|---|
committer | 2006-09-07 11:48:16 +0000 | |
commit | 349bdda3524368ee30dc92cafb6914717017fcdd (patch) | |
tree | 68da02d4eb4e3c7500de96860d870bda70665939 | |
parent | d85884141d69949337959dfa48114d12e542f145 (diff) |
fix
-rw-r--r-- | lib/fuse.c | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -2430,15 +2430,13 @@ static int fuse_init_intr_signal(int signum, int *installed) return 0; } -static void fuse_restore_intr_signal(int signum, int installed) +static void fuse_restore_intr_signal(int signum) { - if (installed) { - struct sigaction sa; + struct sigaction sa; - memset(&sa, 0, sizeof(struct sigaction)); - sa.sa_handler = SIG_DFL; - sigaction(signum, &sa, NULL); - } + memset(&sa, 0, sizeof(struct sigaction)); + sa.sa_handler = SIG_DFL; + sigaction(signum, &sa, NULL); } struct fuse *fuse_new_common(struct fuse_chan *ch, struct fuse_args *args, |