From ce119ecba047650d9d5a9ece497234c0cbd5e524 Mon Sep 17 00:00:00 2001
From: rhauser <reiner.hauser@cern.ch>
Date: Thu, 30 Mar 2017 18:08:16 +0200
Subject: [PATCH] Invert test for success when retrieving ROBDataProviderSvc

Former-commit-id: 0c1598fa7c6abfb9f24ff09200e07fb889fc0785
---
 HLT/Event/ByteStreamEmonSvc/src/ByteStreamEmonInputSvc.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/HLT/Event/ByteStreamEmonSvc/src/ByteStreamEmonInputSvc.cxx b/HLT/Event/ByteStreamEmonSvc/src/ByteStreamEmonInputSvc.cxx
index 50aef74e4f3c..0e57ca0a043d 100644
--- a/HLT/Event/ByteStreamEmonSvc/src/ByteStreamEmonInputSvc.cxx
+++ b/HLT/Event/ByteStreamEmonSvc/src/ByteStreamEmonInputSvc.cxx
@@ -213,7 +213,7 @@ StatusCode ByteStreamEmonInputSvc::initialize()
         return sc;
     }
 
-    if(m_robProvider.retrieve().isSuccess()) {
+    if(!m_robProvider.retrieve().isSuccess()) {
         ATH_MSG_FATAL("Cannot get rob data provider");
         return StatusCode::FAILURE;
     }
-- 
GitLab