Changeset 12993 for trunk


Ignore:
Timestamp:
03/06/12 22:52:09 (13 years ago)
Author:
tbretz
Message:
Fixed an issue with the console and shell selection.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/dimctrl.cc

    r12964 r12993  
    4343    }
    4444
    45     int EvalOptions(Configuration &conf) { return -1; }
     45    int EvalOptions(Configuration &) { return -1; }
    4646    void Stop() { fStop = true; }
    4747    int Run(bool) { while (!fStop) usleep(1000); return 0; }
     
    5757        return -1;
    5858
    59     if (!conf.Has("console"))
     59    if (!conf.Has("console") || conf.Get<int>("console")==0)
     60        return Main::execute<RemoteShell, DimCtrl>(conf);
     61    else
    6062        return Main::execute<RemoteConsole, DimCtrl>(conf);
    61     else
    62         return Main::execute<RemoteShell, DimCtrl>(conf);
    6363
    6464    return 0;
Note: See TracChangeset for help on using the changeset viewer.