]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/AliHLTComponentHandler.cxx
- bugfix component handler: library load via gSystem pretended to fail in some
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTComponentHandler.cxx
index 486d5136b73c8aa1ff2d051a05c17d3a1e0c3cd8..c26cc14341108692bfe5c57c1fb2f63b9c24628e 100644 (file)
@@ -346,7 +346,7 @@ int AliHLTComponentHandler::LoadLibrary( const char* libraryPath, int bActivateA
        hLib.fHandle=pRootHandle;
     }
     
-    if (hLib.fHandle==NULL && gSystem->Load(libraryPath)==0) {
+    if (hLib.fHandle==NULL && gSystem->Load(libraryPath)>=0) {
       int* pRootHandle=new int;
       if (pRootHandle) *pRootHandle=1;
       hLib.fHandle=pRootHandle;