Changeset 9854 in ntrip for trunk/BNC/src/bncmain.cpp


Ignore:
Timestamp:
Oct 21, 2022, 2:04:29 PM (20 months ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncmain.cpp

    r9852 r9854  
    6565  BNC_CORE->stopCombination();
    6666  sleep(2);
    67   ::exit(0);
     67  ::exit(99);
    6868}
    6969
     
    346346    if (QRegExp("--?help").exactMatch(argv[ii])) {
    347347      cout << printHelp.data();
    348       exit(0);
     348      exit(1);
    349349    }
    350350    if (QRegExp("--?nw").exactMatch(argv[ii])) {
     
    353353    if (QRegExp("--?version").exactMatch(argv[ii])) {
    354354      cout << BNCPGMNAME << endl;
    355       exit(0);
     355      exit(2);
    356356    }
    357357    if (QRegExp("--?display").exactMatch(argv[ii])) {
     
    509509    BNC_CORE->connect(caster, SIGNAL(getThreadsFinished()), app->instance(), SLOT(quit()));
    510510
    511     BNC_CORE->connect (caster, SIGNAL(mountPointsRead(QList<bncGetThread*>)), app->instance(), SLOT(quit()));
     511//  BNC_CORE->connect (caster, SIGNAL(mountPointsRead(QList<bncGetThread*>)), app->instance(), SLOT(slotMountPointsRead(QList<bncGetThread*>)));
     512
    512513
    513514    BNC_CORE->slotMessage("========== Start BNC v" BNCVERSION " (" BNC_OS ") ==========", true);
     
    523524      if (caster->numStations() == 0) {
    524525        BNC_CORE->slotMessage("bncMain: number of caster stations: 0 => exit" , true);
    525         exit(0);
     526        exit(3);
    526527      }
    527528    }
Note: See TracChangeset for help on using the changeset viewer.