Index: trunk/PS-IPP-Config/lib/PS/IPP/Config.pm
===================================================================
--- trunk/PS-IPP-Config/lib/PS/IPP/Config.pm	(revision 13459)
+++ trunk/PS-IPP-Config/lib/PS/IPP/Config.pm	(revision 13482)
@@ -1,5 +1,5 @@
 # Copyright (c) 2006  Paul Price, Joshua Hoblitt
 #
-# $Id: Config.pm,v 1.46 2007-05-22 04:22:00 price Exp $
+# $Id: Config.pm,v 1.47 2007-05-23 01:24:21 price Exp $
 
 package PS::IPP::Config;
@@ -354,5 +354,7 @@
     $source = $self->file_resolve( $source );
 
-    system "cp $source $target";
+    system "cp $source $target" or (carp "Can't copy file $source to $target." and
+				    exit($PS_EXIT_DATA_ERROR));
+    return 1;
 }
 
@@ -388,5 +390,5 @@
     my $resolved = $self->convert_filename_absolute( $name );
     my ( $vol, $dirs, $file ) = File::Spec->splitpath( $resolved );
-    system "mkdir -p $dirs";
+    system "mkdir -p $dirs" or (carp "Can't create directory $dirs" and exit($PS_EXIT_DATA_ERROR));
 
     return $name;
