(file) Return to cimserver.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Server

Diff for /pegasus/src/Server/cimserver.cpp between version 1.192 and 1.193

version 1.192, 2007/02/23 18:56:32 version 1.193, 2007/03/13 17:51:14
Line 242 
Line 242 
 void GetOptions( void GetOptions(
     ConfigManager* cm,     ConfigManager* cm,
     int& argc,     int& argc,
     char** argv)      char** argv,
       const Boolean& shutdownOption)
 { {
     try     try
     {     {
           if (shutdownOption)
           {
               cm->loadConfigFiles();
           }
           else
           {
         cm->mergeConfigFiles();         cm->mergeConfigFiles();
           }
   
           // Temporarily disable updates to the current configuration
           // file if shutdownOption is true
           cm->useConfigFiles = (shutdownOption==false);
  
         cm->mergeCommandLine(argc, argv);         cm->mergeCommandLine(argc, argv);
   
           // Enable updates again
           cm->useConfigFiles = true;
     }     }
     catch (NoSuchFile&)     catch (NoSuchFile&)
     {     {
Line 879 
Line 894 
 #ifdef PEGASUS_OS_OS400 #ifdef PEGASUS_OS_OS400
     if (os400StartupOption == false)     if (os400StartupOption == false)
 #endif #endif
         GetOptions(configManager, argc, argv);          // If current process is "cimserver -s" (shutdown option = true) the contents
           // of current config should not be overwriten by planned config
           GetOptions(configManager, argc, argv, shutdownOption);
     }     }
     catch (Exception& e)     catch (Exception& e)
     {     {


Legend:
Removed from v.1.192  
changed lines
  Added in v.1.193

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2