Index: trunk/BNC/src/rinex/reqcanalyze.cpp
===================================================================
--- trunk/BNC/src/rinex/reqcanalyze.cpp	(revision 9847)
+++ trunk/BNC/src/rinex/reqcanalyze.cpp	(revision 9854)
@@ -98,5 +98,5 @@
   delete _logFile; _logFile = 0;
   if (BNC_CORE->mode() != t_bncCore::interactive) {
-    qApp->exit(0);
+    qApp->exit(8);
     msleep(100); //sleep 0.1 sec
   }
@@ -765,22 +765,4 @@
         << "Interval           : " << _qcFile._interval << " sec"                  << '\n';
 
-  // Number of systems
-  // -----------------
-  QMap<QChar, QVector<const t_qcSatSum*> > systemMap;
-  QMapIterator<t_prn, t_qcSatSum> itSat(_qcFile._qcSatSum);
-  while (itSat.hasNext()) {
-    itSat.next();
-    const t_prn&      prn      = itSat.key();
-    const t_qcSatSum& qcSatSum = itSat.value();
-    systemMap[prn.system()].push_back(&qcSatSum);
-  }
-  *_log << "Navigation Systems : " << systemMap.size() << "   ";
-
-  QMapIterator<QChar, QVector<const t_qcSatSum*> > itSys(systemMap);
-  while (itSys.hasNext()) {
-    itSys.next();
-    *_log << ' ' << itSys.key();
-  }
-  *_log << '\n';
 
   // Observation types per system
@@ -797,4 +779,23 @@
     }
   }
+
+  // Number of analysed systems
+  // --------------------------
+  QMap<QChar, QVector<const t_qcSatSum*> > systemMap;
+  QMapIterator<t_prn, t_qcSatSum> itSat(_qcFile._qcSatSum);
+  while (itSat.hasNext()) {
+    itSat.next();
+    const t_prn&      prn      = itSat.key();
+    const t_qcSatSum& qcSatSum = itSat.value();
+    systemMap[prn.system()].push_back(&qcSatSum);
+  }
+  *_log << "Analysed GNSS      : " << systemMap.size() << "   ";
+  QMapIterator<QChar, QVector<const t_qcSatSum*> > itSys(systemMap);
+  while (itSys.hasNext()) {
+    itSys.next();
+    *_log << ' ' << itSys.key();
+  }
+  *_log << '\n';
+
 
   // System specific summary
@@ -1013,18 +1014,8 @@
                                        << numUnhealthy << " UNHEALTHY   "
                                        << numBad       << " WRONG\n";
-    }
-    if (numBad > 0 || numUnhealthy > 0) {
-      for (unsigned ii = 0; ii < rnxNavFile.ephs().size(); ii++) {
-        t_eph* eph = rnxNavFile.ephs()[ii];
-        QFileInfo navFi(fileName);
-        if (_log) {
-#ifdef BNC_DEBUG_BCEP
-          if (eph->checkState() == t_eph::unhealthy) {
-            *_log  << "                     "
-                << navFi.fileName() << ' ' << QString(": UNHEALTHY %2:%3\n")
-                           .arg(eph->navTypeString(eph->navType(), eph->prn(), 99.0))
-                           .arg(eph->rinexDateStr(eph->TOC(), eph->prn(), 99.0)).toLatin1();
-          }
-#endif
+      if (numBad > 0) {
+        for (unsigned ii = 0; ii < rnxNavFile.ephs().size(); ii++) {
+          t_eph* eph = rnxNavFile.ephs()[ii];
+          QFileInfo navFi(fileName);
           if (eph->checkState() == t_eph::bad) {
             *_log  << "                     "
@@ -1035,8 +1026,6 @@
         }
       }
-    }
-  }
-  if (_log) {
-    *_log << '\n';
+      *_log << '\n';
+    }
   }
 }
Index: trunk/BNC/src/rinex/reqcedit.cpp
===================================================================
--- trunk/BNC/src/rinex/reqcedit.cpp	(revision 9847)
+++ trunk/BNC/src/rinex/reqcedit.cpp	(revision 9854)
@@ -152,5 +152,5 @@
   // -------------
   if (BNC_CORE->mode() != t_bncCore::interactive) {
-    qApp->exit(0);
+    qApp->exit(9);
     msleep(100); //sleep 0.1 sec
   }
