Logging bug fix

fix for ONOS-435

Change-Id: I2766e7205ab6173abc427485ecb7697d2743b894
diff --git a/core/store/dist/src/main/java/org/onosproject/store/device/impl/GossipDeviceStore.java b/core/store/dist/src/main/java/org/onosproject/store/device/impl/GossipDeviceStore.java
index b18462a..83664f2 100644
--- a/core/store/dist/src/main/java/org/onosproject/store/device/impl/GossipDeviceStore.java
+++ b/core/store/dist/src/main/java/org/onosproject/store/device/impl/GossipDeviceStore.java
@@ -206,8 +206,7 @@
 
         backgroundExecutor.shutdownNow();
         try {
-            boolean timedout = backgroundExecutor.awaitTermination(5, TimeUnit.SECONDS);
-            if (timedout) {
+            if (!backgroundExecutor.awaitTermination(5, TimeUnit.SECONDS)) {
                 log.error("Timeout during executor shutdown");
             }
         } catch (InterruptedException e) {