Index: /trunk/DataCheck/QuickLook/Step1.sh
===================================================================
--- /trunk/DataCheck/QuickLook/Step1.sh	(revision 18151)
+++ /trunk/DataCheck/QuickLook/Step1.sh	(revision 18152)
@@ -231,4 +231,10 @@
          #   and these runs are repeated in that case
          numevts=`$factpath/fitsdump -h $file  2>/dev/null | grep Events | grep -E -o '[0-9]+'`
+         if [ "$numevts" == "" ]
+         then
+            printprocesslog "WARN could not get number of events from file "$file" -> continue "
+            #echo "WARN could not get number of events from file "$file" -> continue "
+            continue
+         fi
          if [ $numevts -ne 1000 ]
          then
