Index: /trunk/Ohana/src/getstar/src/dvoImagesAtCoords.c
===================================================================
--- /trunk/Ohana/src/getstar/src/dvoImagesAtCoords.c	(revision 25706)
+++ /trunk/Ohana/src/getstar/src/dvoImagesAtCoords.c	(revision 25707)
@@ -1,3 +1,8 @@
 # include "dvoImagesAtCoords.h"
+
+// We'd like to do this but since pstamp gets built later this won't work
+// so just redefine the macro
+// # include "pstamp.h"
+#define PSTAMP_NO_OVERLAP 28
 
 static int readPoints(char *filename, Point **pointsOut);
@@ -19,5 +24,5 @@
   Npoints = readPoints(argv[1], &points);
   if (!Npoints) {
-    exit(0);
+    exit(1);
   }
 
@@ -49,7 +54,8 @@
   if (MatchCoords (dbImages, NdbImages, points, Npoints)) {
     ListImagesAtCoords(dbImages, points, Npoints);
+    exit(0);
+  } else {
+    exit(PSTAMP_NO_OVERLAP);
   }
-  // XXX: should we exit with nonzero status if no matches were found?
-  exit (0);
 }
 
