1
0
mirror of synced 2026-02-05 07:24:49 +00:00

2007-09-04 20:39:19 by steve

Correctly determine whether a xen guest is running prior to deletion.
This commit is contained in:
steve
2007-09-04 20:39:20 +00:00
parent 645682ca86
commit dc57d529f5
2 changed files with 5 additions and 3 deletions

View File

@@ -136,7 +136,7 @@ Show the version number and exit.
--
http://www.steve.org.uk/
$Id: xen-delete-image,v 1.40 2007-07-31 17:33:29 steve Exp $
$Id: xen-delete-image,v 1.41 2007-09-04 20:39:19 steve Exp $
=cut
@@ -365,7 +365,7 @@ sub parseCommandLineArguments
if ( $VERSION )
{
my $REVISION = '$Revision: 1.40 $';
my $REVISION = '$Revision: 1.41 $';
if ( $REVISION =~ /1.([0-9.]+) / )
{
@@ -439,7 +439,7 @@ sub xenRunning
my $running = 0;
open( CMD, "xm list 2>/dev/null |")
open( CMD, "xm list $hostname 2>/dev/null |")
or die "Failed to run 'xm list $hostname'";
while( <CMD> )
{

2
debian/changelog vendored
View File

@@ -7,6 +7,8 @@ xen-tools (xxx) unstable; urgency=low
(Closes: #436170)
* Avoid breaking command line completion when using aliased 'ls'.
(Closes: #439874)
* Correctly determine whether a Xen guest is running prior to deletion.
(Closes: #440664)
-- Blah