Yuta HIGUCHI

Logging bug fix

fix for ONOS-435

Change-Id: I2766e7205ab6173abc427485ecb7697d2743b894
......@@ -206,8 +206,7 @@ public class GossipDeviceStore
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) {
......