Index: /trunk/BNC/src/PPP/pppMain.cpp
===================================================================
--- /trunk/BNC/src/PPP/pppMain.cpp	(revision 5763)
+++ /trunk/BNC/src/PPP/pppMain.cpp	(revision 5764)
@@ -67,13 +67,18 @@
   }
 
-  readOptions();
-
-  QListIterator<t_options*> iOpt(_options);
-  while (iOpt.hasNext()) {
-    const t_options* opt = iOpt.next();
-    t_pppThread* pppThread = new t_pppThread(opt);
-    pppThread->start();
-    _pppThreads << pppThread;
-    _running = true;
+  try {
+    readOptions();
+
+    QListIterator<t_options*> iOpt(_options);
+    while (iOpt.hasNext()) {
+      const t_options* opt = iOpt.next();
+      t_pppThread* pppThread = new t_pppThread(opt);
+      pppThread->start();
+      _pppThreads << pppThread;
+      _running = true;
+    }
+  }
+  catch (pppExcept exc) {
+    stop();
   }
 }
