Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incorrect exit code on failure (branch package-update) #217

Open
chakl opened this issue Mar 12, 2024 · 0 comments
Open

incorrect exit code on failure (branch package-update) #217

chakl opened this issue Mar 12, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@chakl
Copy link

chakl commented Mar 12, 2024

What happened?

When using "xst package install registry", I mistakenly specified an invalid package name/version combination (there is no version 6.0.1 of "tuttle"). xst reported the failure, but returns exit code 0 which means "success". When using xst from Ansible, a failed package installation would be reported as "success".

$ /usr/local/bin/xst package install registry http://e-editiones.org/tuttle 6.0.1 --registry http://A_VALID_REGISTRY/exist/apps/public-repo/
Connecting to remote DB using an unencrypted channel.
✘ http://e-editiones.org/tuttle > could not be installed 
$ echo $?
0

xst should return non-zero on failed package installation.

System Information

No response

Relevant shell output

No response

@chakl chakl added the bug Something isn't working label Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants