Index: tstat.c
===================================================================
--- tstat.c	(revision 264)
+++ tstat.c	(working copy)
@@ -1545,14 +1545,15 @@
       ret = (*ppread) (&current_time, &len, &tlen, &phys, &phystype, &pip,
 		       &plast);
     }
-  while ((ret != -1)
+  while ((ret > 0 )
 	 && (current_time.tv_sec == 0 && current_time.tv_usec == 0));
 
-  if (ret == -1)
+  if (ret <= 0 )
     {
       fprintf(fp_stderr,
-	       "Not even a single packet read (check tcpdump filter)! Aborting...\n");
-      exit (1);
+	       "Not even a single packet read (check tcpdump filter)! "
+               "Skipping current file.\n");
+      return;
     }
 
     InitAfterFirstPacketReaded(filename, file_count);
@@ -1593,7 +1594,7 @@
     }
   while ((ret =
 	  (*ppread) (&current_time, &len, &tlen, &phys, &phystype, &pip,
-		     &plast)));
+		     &plast)) > 0 );
 
   ProcessFileCompleted(last);
 }
