aboutsummaryrefslogtreecommitdiffstats
path: root/src/dumm/cowfs.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2007-08-03 11:47:20 +0000
committerMartin Willi <martin@strongswan.org>2007-08-03 11:47:20 +0000
commit5ce04046f7bcf341ed0240ca87564f3d14064188 (patch)
tree4bca1acb4981db5ceec9d54ea45ee8a486aabc2b /src/dumm/cowfs.c
parentdfcdae033585a9686de392e7a30566ebda06bd0e (diff)
downloadstrongswan-5ce04046f7bcf341ed0240ca87564f3d14064188.tar.bz2
strongswan-5ce04046f7bcf341ed0240ca87564f3d14064188.tar.xz
proper shutdown
moved signal handler for SIGCHD and SIGHUP to dumm
Diffstat (limited to 'src/dumm/cowfs.c')
-rw-r--r--src/dumm/cowfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dumm/cowfs.c b/src/dumm/cowfs.c
index f3b169b7c..6e0fa9222 100644
--- a/src/dumm/cowfs.c
+++ b/src/dumm/cowfs.c
@@ -779,8 +779,8 @@ static void set_scenario(private_cowfs_t *this, char *path)
static void destroy(private_cowfs_t *this)
{
fuse_exit(this->fuse);
- pthread_join(this->thread, NULL);
fuse_unmount(this->mount, this->chan);
+ pthread_join(this->thread, NULL);
fuse_destroy(this->fuse);
free(this->mount);
free(this->master);