Index: trunk/psastro/src/psastroArguments.c
===================================================================
--- trunk/psastro/src/psastroArguments.c	(revision 9574)
+++ trunk/psastro/src/psastroArguments.c	(revision 9627)
@@ -27,4 +27,8 @@
     // load config data from default locations
     pmConfig *config = pmConfigRead(&argc, argv);
+    if (config == NULL) {
+        psError(PSASTRO_ERR_CONFIG, false, "Can't read site configuration");
+        return NULL;
+    }
 
     // save these recipe options until we have loaded the options
