message: Fix bug preventing the use of alien_rm
diff: @@ -2388,14 +2388,15 @@ Bool_t AliMTRChEffAnalysis::WriteToOCDB ( TList* effHistos, const char* outputCD
  }
  TString rmCommand = "rm";
  - if ( outCDB.BeginsWith("alien://") && ! gGrid ) {
  - TGrid::Connect("alien://");
  + if ( outCDB.BeginsWith("alien://") ) {
  rmCommand = "alien_rm";
  if ( ! gGrid ) {
  + if ( ! TGrid::Connect("alien://") ) {
  AliError("Cannot open grid connection");
  return kFALSE;
  }
  }
  + }
  AliCDBManager* mgr = AliCDBManager::Instance();
  if ( ! mgr->GetDefaultStorage() ) mgr->SetDefaultStorage(defaultOCDB);
  