aboutsummaryrefslogtreecommitdiffstats
path: root/filedistribution
diff options
context:
space:
mode:
Diffstat (limited to 'filedistribution')
-rw-r--r--filedistribution/src/vespa/filedistribution/model/zkfacade.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/filedistribution/src/vespa/filedistribution/model/zkfacade.cpp b/filedistribution/src/vespa/filedistribution/model/zkfacade.cpp
index 9bf29ab1854..7e7caf67ff6 100644
--- a/filedistribution/src/vespa/filedistribution/model/zkfacade.cpp
+++ b/filedistribution/src/vespa/filedistribution/model/zkfacade.cpp
@@ -257,7 +257,7 @@ ZKFacade::~ZKFacade() {
_watchersEnabled = false;
vespalib::Gate done;
std::thread closer([&done, zhandle=_zhandle] () { zookeeper_close(zhandle); done.countDown(); });
- if ( ! done.await(50*1000) ) {
+ if ( done.await(50*1000) ) {
LOGFWD(debug, "Zookeeper connection closed successfully.");
} else {
LOGFWD(error, "Not able to close down zookeeper. Dumping core so you can figure out what is wrong");