Changeset 9854 in ntrip for trunk/BNC/src/bncmain.cpp
- Timestamp:
- Oct 21, 2022, 2:04:29 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncmain.cpp
r9852 r9854 65 65 BNC_CORE->stopCombination(); 66 66 sleep(2); 67 ::exit( 0);67 ::exit(99); 68 68 } 69 69 … … 346 346 if (QRegExp("--?help").exactMatch(argv[ii])) { 347 347 cout << printHelp.data(); 348 exit( 0);348 exit(1); 349 349 } 350 350 if (QRegExp("--?nw").exactMatch(argv[ii])) { … … 353 353 if (QRegExp("--?version").exactMatch(argv[ii])) { 354 354 cout << BNCPGMNAME << endl; 355 exit( 0);355 exit(2); 356 356 } 357 357 if (QRegExp("--?display").exactMatch(argv[ii])) { … … 509 509 BNC_CORE->connect(caster, SIGNAL(getThreadsFinished()), app->instance(), SLOT(quit())); 510 510 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 512 513 513 514 BNC_CORE->slotMessage("========== Start BNC v" BNCVERSION " (" BNC_OS ") ==========", true); … … 523 524 if (caster->numStations() == 0) { 524 525 BNC_CORE->slotMessage("bncMain: number of caster stations: 0 => exit" , true); 525 exit( 0);526 exit(3); 526 527 } 527 528 }
Note:
See TracChangeset
for help on using the changeset viewer.