1
0
mirror of synced 2026-01-19 17:18:39 +00:00

2006-06-20 21:46:08 by steve

BUGFIX:  Deal with quoted memory settings, so we disply the correct
 output.
This commit is contained in:
steve 2006-06-20 21:46:08 +00:00
parent 0e08a539be
commit b5a15a1cef

View File

@ -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;
}