From 4dcbb4ba09254b3addbe184fd9c26d38cc00241f Mon Sep 17 00:00:00 2001 From: steve Date: Sat, 11 Mar 2006 21:39:52 +0000 Subject: [PATCH] 2006-03-11 21:39:52 by steve Warn if we can't create the xen configuration file. --- xen-duplicate-image | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/xen-duplicate-image b/xen-duplicate-image index a6911b9..4fcc2bd 100755 --- a/xen-duplicate-image +++ b/xen-duplicate-image @@ -122,7 +122,7 @@ Specify the LVM volume where images are to go -- http://www.steve.org.uk/ - $Id: xen-duplicate-image,v 1.27 2006-03-11 19:56:56 steve Exp $ + $Id: xen-duplicate-image,v 1.28 2006-03-11 21:39:52 steve Exp $ =cut @@ -319,6 +319,10 @@ if ( -x "/etc/xen-tools/hook.d/95-create-cfg" ) print "Setting up Xen configuration file .. "; `/etc/xen-tools/hook.d/95-create-cfg`; } +else +{ + print "Failed to setup Xen configuration file .. "; +} print "Done\n"; @@ -443,7 +447,7 @@ sub parseCommandLineArguments if ( $VERSION ) { - my $REVISION = '$Revision: 1.27 $'; + my $REVISION = '$Revision: 1.28 $'; if ( $REVISION =~ /1.([0-9.]+) / ) {