Fix exit code of xt-install-image when install method failed (Closes: #534290)
This commit is contained in:
@@ -576,7 +576,7 @@ sub runCommand
|
||||
{
|
||||
print "Running command '$cmd' failed.\n";
|
||||
print "Aborting\n";
|
||||
exit;
|
||||
exit 127;
|
||||
}
|
||||
|
||||
#
|
||||
|
||||
3
debian/changelog
vendored
3
debian/changelog
vendored
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user