1
0
mirror of synced 2026-04-15 07:39:46 +00:00

Execute END block not on --version/--help/--manual (Closes: #684346)

This commit is contained in:
Axel Beckert
2012-11-13 19:47:36 +01:00
parent 7b908a4069
commit 324fff9f7e
2 changed files with 7 additions and 4 deletions

View File

@@ -1692,12 +1692,12 @@ sub checkOption
=cut
my $HELP = 0;
my $MANUAL = 0;
my $VERSION = 0;
sub parseCommandLineArguments
{
my $HELP = 0;
my $MANUAL = 0;
my $VERSION = 0;
#
# We record the installation method here because we want
# to ensure that we allow the method supplied upon the command line
@@ -4373,6 +4373,8 @@ sub unMountImage
sub END
{
exit 0 if $VERSION || $HELP || $MANUAL;
my $host_rsa_key = '';
#
# Unmount the image if it is still mounted.

1
debian/changelog vendored
View File

@@ -2,6 +2,7 @@ xen-tools (4.3.1+dev-1) UNRELEASED; urgency=low
* New upstream release
- Fix symbolic link hooks/centos-6/15-setup-arch (Closes: #690299)
- Execute END block not on --version/--help/--manual (Closes: #684346)
-- Axel Beckert <abe@debian.org> Tue, 13 Nov 2012 18:05:05 +0100