--- chewbacca/YodaProfiler/src/YodaProfiler.cpp 2009/01/12 18:23:38 1.6 +++ chewbacca/YodaProfiler/src/YodaProfiler.cpp 2009/12/23 07:22:04 1.10 @@ -391,6 +391,7 @@ if ( !dwinput ) dwinput = 1; staticp = true; autoboot = false; + pedantic = false; }; // if ( filerawname == "" && filerootname != "" ){ @@ -417,7 +418,7 @@ pamDB = new PamelaDBOperations(host,user,password,filerawname,filerootname,boot,tsync,obt0,debug,tlefilename,dwinput,staticp,gpamela,keepenv); pamDB->CheckConnection(); pamDB->LockTables(); - pamDB->OpenL0File(filerootname); + if ( filerootname != "" ) pamDB->OpenL0File(filerootname); pamDB->SetTag(tag); //------------------------------------------------------------------------------------------- // @@ -544,7 +545,7 @@ //Validate runs //------------------------------------------------------------------------------------------- if ( beverbose ) printf(" 11 => Validate runs (earlier than %s)\n",pamDB->GetCleanTime()); - WAR[9] = pamDB->ValidateRuns(); + WAR[9] = pamDB->ValidateRuns(); //------------------------------------------------------------------------------------------- }; @@ -570,7 +571,8 @@ }; } catch (Int_t exc) { - signal = exc; + // signal = exc; + signal = 1; switch(exc){ case -1: message += " DB connection failure"; break; case -2: message += " Connection failure"; break; @@ -782,7 +784,8 @@ printf("\n"); printf(" WARNING(s):\n%s\n",message.Data()); printf("\n"); - if ( !signal ) signal = 1; + // if ( !signal ) signal = 1; + if ( !signal ) signal = 255; }; // //---------------------------------------------------------------------------------------