Ignore:
Timestamp:
05/25/07 13:48:15 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjobs/MJob.cc

    r8518 r8539  
    8383    ClearEnv();
    8484
    85     const Bool_t fileexist = !gSystem->AccessPathName(env, kFileExists);
    86     if (!fileexist)
    87     {
    88         *fLog << err << "ERROR - Resource file '" << env << "' not found... no resources applied." << endl;
    89         return kFALSE;
    90     }
    91 
    9285    fEnv = new MEnv(env);
    9386    SetBit(kIsOwner);
     87
     88    if (!fEnv->IsValid())
     89    {
     90        ClearEnv();
     91        return kFALSE;
     92    }
    9493
    9594    fEnvPrefix = prefix;
Note: See TracChangeset for help on using the changeset viewer.