diff --git a/bin/xen-list-images b/bin/xen-list-images index 2110f08..6d12c72 100755 --- a/bin/xen-list-images +++ b/bin/xen-list-images @@ -67,7 +67,7 @@ Show the version number and exit. -- http://www.steve.org.uk/ - $Id: xen-list-images,v 1.5 2006-06-13 17:04:52 steve Exp $ + $Id: xen-list-images,v 1.6 2006-06-20 21:46:08 steve Exp $ =cut @@ -237,7 +237,7 @@ sub parseCommandLineArguments if ( $VERSION ) { - my $REVISION = '$Revision: 1.5 $'; + my $REVISION = '$Revision: 1.6 $'; if ( $REVISION =~ /1.([0-9.]+) / ) { @@ -309,7 +309,7 @@ sub displayInstance { $name = $1; } - if ( $line =~ /^\s*memory\s*=\s*([0-9]+)/i ) + if ( $line =~ /.*memory[^0-9]*([0-9]+)/i ) { $mem = $1; }