Index: trunk/psModules/src/config/pmConfig.c
===================================================================
--- trunk/psModules/src/config/pmConfig.c	(revision 12504)
+++ trunk/psModules/src/config/pmConfig.c	(revision 12544)
@@ -4,6 +4,6 @@
  *  @author EAM (IfA)
  *
- *  @version $Revision: 1.79 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2007-03-20 01:30:45 $
+ *  @version $Revision: 1.80 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2007-03-22 18:07:18 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -829,5 +829,5 @@
             }
         } // Done looking at all cameras
-        psFree(camerasIter);
+	psFree(camerasIter);
 
         if (! config->camera) {
@@ -837,5 +837,8 @@
 
         // Now we have the camera, we can read the recipes
-        pmConfigReadRecipes(config, PM_RECIPE_SOURCE_CAMERA | PM_RECIPE_SOURCE_CL);
+        if (!pmConfigReadRecipes(config, PM_RECIPE_SOURCE_CAMERA | PM_RECIPE_SOURCE_CL)) {
+	    psError(PS_ERR_IO, false, "Error reading recipes from camera config for %s", config->cameraName);
+	    return NULL;
+	}
         return psMemIncrRefCounter(format);
     }
