From 413a9be1500134dd43dd147185024f9dc9b94e36 Mon Sep 17 00:00:00 2001 From: steve Date: Thu, 15 Jun 2006 23:23:12 +0000 Subject: [PATCH] 2006-06-15 23:23:12 by steve BUGFIX: When testing for executable lvm command make sure we test the correct way round. --- bin/xen-create-image | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/xen-create-image b/bin/xen-create-image index a775aa1..eb5b8fd 100755 --- a/bin/xen-create-image +++ b/bin/xen-create-image @@ -399,7 +399,7 @@ Install an X11 server, using VNC and XDM -- http://www.steve.org.uk/ - $Id: xen-create-image,v 1.29 2006-06-15 23:20:22 steve Exp $ + $Id: xen-create-image,v 1.30 2006-06-15 23:23:12 steve Exp $ =cut @@ -794,7 +794,7 @@ sub parseCommandLineArguments if ( $VERSION ) { - my $REVISION = '$Revision: 1.29 $'; + my $REVISION = '$Revision: 1.30 $'; if ( $REVISION =~ /1.([0-9.]+) / ) { @@ -933,7 +933,7 @@ sub checkFilesPresent foreach my $file ( @lvm ) { - if ( -x $file ) + if ( ! -x $file ) { print "The following binary is required to run this tool\n"; print "\t$file\n";