1
0
mirror of synced 2026-04-28 13:07:29 +00:00

Fix exit code of xt-install-image when install method failed (Closes: #534290)

This commit is contained in:
Axel Beckert
2010-04-09 10:55:18 +02:00
parent 0ae7d1a8ec
commit bc750e31e0
2 changed files with 4 additions and 1 deletions

View File

@@ -576,7 +576,7 @@ sub runCommand
{
print "Running command '$cmd' failed.\n";
print "Aborting\n";
exit;
exit 127;
}
#

3
debian/changelog vendored
View File

@@ -29,6 +29,9 @@ xen-tools (4.2~rc1-1) UNRELEASED; urgency=low
* ${parm/?/pat[/str]} → echo | sed
* echo -e → printf
* read → read dummy
- xt-install-image now exits with return value 127 instead of 0 to
indicate errors on running the command given in --install-method.
(Closes: #534290)
* Removal of /etc/bash_completion.d/xm from the package since
bash-completion ships a more elaborate version of that file. (Closes:
#566683, #550590, LP: #538917, #484098)