Index: trunk/ippTools/src/pzgetimfiles.c
===================================================================
--- trunk/ippTools/src/pzgetimfiles.c	(revision 20789)
+++ trunk/ippTools/src/pzgetimfiles.c	(revision 20809)
@@ -114,5 +114,10 @@
     psArray *newImfiles = parseFiles(config, cmdOutput);
     if (!newImfiles) {
-        // XXX not nessicarily an error
+        // XXX not nessicarily an error but we don't want to keep trying to
+        // download an "empty" fileset.
+        // mark the summitExp row as faulted
+        if (!p_psDBRunQuery(config->dbh, "UPDATE summitExp SET fault = %d WHERE exp_name = '%s' AND camera = '%s' AND telescope = '%s'", 42, filesetid, camera, telescope)) {
+                psError(PS_ERR_UNKNOWN, false, "database error");
+        }
         psError(PS_ERR_UNKNOWN, true, "no new files/imfiles");
         psFree(cmdOutput);
