Execute END block not on --version/--help/--manual (Closes: #684346)
This commit is contained in:
@@ -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
1
debian/changelog
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user