2006-06-15 23:23:12 by steve
BUGFIX: When testing for executable lvm command make sure we test the correct way round.
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user