diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-09-28 14:15:52 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-09-28 14:15:52 +0100 |
commit | 3e9e3e52e693e27cd3b23cf266f1041753cbc9d5 (patch) | |
tree | 0c52cb9172f2c28d87d8009d149419b3f7391069 /netfs/unittests/mockFuse.cpp | |
parent | Minor fixups (diff) | |
download | netfs-3e9e3e52e693e27cd3b23cf266f1041753cbc9d5.tar.bz2 netfs-3e9e3e52e693e27cd3b23cf266f1041753cbc9d5.tar.xz netfs-3e9e3e52e693e27cd3b23cf266f1041753cbc9d5.zip |
Ice initialize must occur after any forking
Diffstat (limited to 'netfs/unittests/mockFuse.cpp')
-rw-r--r-- | netfs/unittests/mockFuse.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/netfs/unittests/mockFuse.cpp b/netfs/unittests/mockFuse.cpp index fd93388..b00c4c2 100644 --- a/netfs/unittests/mockFuse.cpp +++ b/netfs/unittests/mockFuse.cpp @@ -45,5 +45,8 @@ FuseMockHost::FuseMockHost(std::string ep, const Ice::StringSeq & a) : app(std::make_unique<FuseMock>(std::move(ep), a)), fuse(&app->operations) { + if (app->operations.init) { + app->operations.init(nullptr); + } } |