Index: /trunk/Ohana/src/getstar/src/getstar.c
===================================================================
--- /trunk/Ohana/src/getstar/src/getstar.c	(revision 20983)
+++ /trunk/Ohana/src/getstar/src/getstar.c	(revision 20984)
@@ -14,4 +14,6 @@
 
   sky = SkyTableLoadOptimal (CATDIR, SKY_TABLE, GSCFILE, SKY_DEPTH, VERBOSE);
+  if (!sky) exit (1);
+    
   SkyTableSetFilenames (sky, CATDIR, "cpt");
 
