]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fix for the PROOF case
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 29 Apr 2009 12:22:20 +0000 (12:22 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 29 Apr 2009 12:22:20 +0000 (12:22 +0000)
ANALYSIS/macros/AnalysisTrainNew.C

index 8ab0dcee7f60dc18af3215632d632b45028076d6..93b866fe2943c9808b98d500da6fee2419a029df 100644 (file)
@@ -416,9 +416,9 @@ Bool_t LoadCommonLibraries(const char *mode)
             if (useCORRFW) success &= LoadLibrary("CORRFW", mode);
          } else { 
             ires = gProof->EnablePackage(AFversion);
+            if (ires<0) success = kFALSE;
             if (useCORRFW) success &= LoadLibrary("CORRFW", mode);
          }
-         if (ires<0) success = kFALSE;
          break;         
       default:
          ::Error("LoadCommonLibraries", "Unknown run mode: %s", mode);