In the main loop of the router: if the select call fails for
[OpenSRF.git] / src / router / osrf_router.c
index 28bd36a..7e162b8 100644 (file)
@@ -195,9 +195,9 @@ void osrfRouterRun( osrfRouter* router ) {
                                else
                                        continue;    // Irrelevant signal; ignore it
                        } else {
                                else
                                        continue;    // Irrelevant signal; ignore it
                        } else {
-                               osrfLogWarning( OSRF_LOG_MARK,
-                                               "Top level select call failed with errno %d", errno);
-                               continue;
+                               osrfLogWarning( OSRF_LOG_MARK, "Top level select call failed with errno %d: %s",
+                                               errno, strerror( errno ) );
+                               break;
                        }
                }
 
                        }
                }