Index: /trunk/PS-IPP-Config/lib/PS/IPP/Config.pm
===================================================================
--- /trunk/PS-IPP-Config/lib/PS/IPP/Config.pm	(revision 13237)
+++ /trunk/PS-IPP-Config/lib/PS/IPP/Config.pm	(revision 13238)
@@ -1,5 +1,5 @@
 # Copyright (c) 2006  Paul Price, Joshua Hoblitt
 #
-# $Id: Config.pm,v 1.38 2007-05-03 01:44:40 price Exp $
+# $Id: Config.pm,v 1.39 2007-05-04 19:41:23 eugene Exp $
 
 package PS::IPP::Config;
@@ -150,4 +150,9 @@
     close $file;
     $self->{camera} = $parser->parse( join '', @contents); # The parsed metadata config
+
+    unless (defined $self->{camera}) {
+	carp "Failure to define camera";
+	exit($PS_EXIT_CONFIG_ERROR);
+    }
 
     # XXX why isn't just $self being returned here? -JH
